Calibrate tilt

Guts of measuring the tilt addresses #37 .
After reading this I'm not sure how `phi1` and `phi2` map to `x` and `y` or `horizontal` and `vertical`