Included Code to control the relay as this was lost.

Created a differential ADC read function to be tested