Refactorized CameraCalibrator code to be able to center recalibration and
axis recalibration on different methods.