Analytical Dynamics