Compute the torques dur to gravity on each joint of the model
Compute the torques dur to gravity on each joint of the model