Fixed quaternion bug.

The quaternion constructor in glm is (w, x, y, z) instead of (x, y, z,
w).