Fixes in calibration example