Implemented geometry calibration.