A Lie Group Formulation Of Robot Dynamics