add calibration for distance sensor
Adapt tex for new sketches, make sure they compile