Fix computation of Jacobian of center of mass.
Add an assert in access of components of a configuration