addded a symplectic integrator