Added guava and functionality for caching digital input values so that
changes always are seen.
Analog input calibration fixed. Also a couple null pointer checks.