Better Trigonometry.
Revert timer based delays reading accelerometer.
Touch drives LEDS.