EStimation of Optimal Quaternion