Calculate the RGB-to-XYZ matrix ourselves instead of using a “magic” one from Wikipedia.