Advanced Dynamics of Mechanical Systems