In the context of mechanical engineering, what are the theoretical principles of control systems, and how do these principles enable the design and implementation of feedback mechanisms to ensure the stability and performance of mechanical systems?