Incorporated global time step into leapfrog integrator.