Applications of Lie Algebraic Techniques to Hamiltonian Systems