Quaternions and Rotation Sequences