Computer aided kinematics and dynamics of mechanical systems. Vol. 1: basic methods