fixed typo in pendulum