Implement linear rail calibration.