Fixed the Leapfrog integrator