Degrees of Freedom: How do theoretical principles define the degrees of freedom in mechanical systems, and why is this concept important in the analysis and design of mechanisms?