bug fix: calibration matrix