Problem with line 209 in calibrate.cpp