Calibrate tilt

Guts of measuring the tilt addresses #37 .