Method getRemaining() is now const.
Made some methods const.
Throw error and stop plan if calibration has failed.