updates positionDerivatives to vToqdot
pendulum examples run again.