Corrected Sensor Error
Major code refresh