Fixed pendulum examples.
Merge branch 'andres/collision-dynamics-integration'