Fixed quaternion to matrix