fix slerp bug causing quaternions not to be normalized