Better rotations with quaternions