Fixed formatting of header files.
Created common Sensor base class.

Created common sensor base class that prevents sensors from running the
analog-to-digital convertor too rapidly.