Fixed errors regarding CIE XYZ to CIE RGB conversion