adaptiveVelocityVerlet is hopefully fixed, cleaned up the code, and
saved a kitten.