Updated Timer code.
Added more debugging for sensors.