Set up offsets. Added averaging mechanism for accels - seems to work on all axes.
Offsets not perfect, and acceleration apparently in au? Still,
should be good enough for us.