partial commit
Merge branch 'master' into tests
made sensor data setup function more friendly
have complete non-Arduino test program, fixed a couple bugs found in the process, and added documentation about the 1s-complement bit format that seems to be in use