Use QuaternionUtil to deal with quaternions instead of rolling our own.