Fixed jerking of rotation with quaternions