Yay! Finished everything but the actual beat detection.
Fixing a few bugs noticed in the simulator.

E.g. ADC was being turned off after starting conversion,
     off by one error on cycle timing.