Added leapfrog drift-kick-drift for SPH and N-body integration