Add RelativeEuler function to kinematics