pendulum simulation changed