Added DAC output, rescaling, and bug fixes. All still untested :(. Testing will comemence hence forth, and will begin with just the ADC.