Analytical Mechanics