Vector coding quantifies coordination from the angle-angle diagram: the
coupling angle is the orientation of the vector between successive points, and
each frame is classified into in-phase (both joints rotating together),
anti-phase (opposite), proximal-phase (angle1 dominant) or distal-phase
(angle2 dominant) coordination (Chang et al. 2008; Needham et al. 2014).
Value
a vector_coding list: coupling_angle (degrees, 0-360, length n-1),
pattern (a factor per frame) and proportions (time fraction per pattern).