Simple Pendulum with Python + Sympy