set gamma calibration function added, calibration datafile added