Hamiltonian Stability Analysis and Chaos