(method of quaternion)
calcualtes the rotational angle between rotations q1 and q2
quaternion
double