Implemented `calibrate_dist()` in `sensors.py`.