bug correction on the double pendulum function.

Substituted the double pendulum equations with an older working version.