Normalizes the quaternion.

This method modifies the quaternion.