Added support for CSVMat and spectrum calibration info.