Quaternion operations corrected.