MATH: Add comments and rename getQuaternion.