Fixed the transformation from CIEXYZ to CIERGB. The matrix on the color.c file is wrong.
Commented some of the code to help when I start writing the report.