changed quaternion calculation, missing negative