I do motion tracking with Vicon Plug-in Gait model and I need the orientation of body segments relative to Vicon's global reference frame. I wonder if there is a software where yo input the trajectory of the marker (or any other parameter that Vicon calculates) and outputs the orientation (Rotation matrix or quaternion).