A Multibody Dynamics Formulation for Open Loop Systems Based on Maggi-Kane Equations