New version of Verlet algorithm