Small clean up before moving to the new architecture.
Initial code for firmware.  Noise with this firmware has a standard deviation of below 30 microVolts.