Analytical solution to and error analysis of the quaternion based similarity transformation considering measurement errors in both frames. (November 2017)