Minor edits to calibration.cpp