Modelling Spherical Joints in Multibody Systems