add sensor library
Merge pull request #12 from spdin/sensor

On-board sensor routines.