Elliptic Functions and the Position of the Pendulum