pendulum: let the user specify start conditions and pendulum constants