Dynamics of Machinery: Theory and Applications