Fixed typo in pendulum formula.