added quaternion log