Adds method to calculate the quaternion rotation angle