Quaternion Matrix Fix