Fixed various errors with the ADC