Calibration

Added code to calibrate the  voltage chanel of the adc.
This includes a dc offset.