Fix rgb_to_xyz_matrix