Added joint torques to the n link pendulum test model.