add some documentation to pendulum_demo