Quaternion normalization