Fixed and improved the cie xyz to cie rgb conversion.