Completely changed the timing methods for the double pendulum. Still not quite right. Added a general method for doing animation.