Cleaned up Sensor logic; added documentation.
Fixed delay between calls.