Implemented color calibration.