SLERP equations modified in Example D