Big refactor. Now we take Y=1 for white in CIE's XYZ color space