How to Calibrate a Rangefinder