Getting accelerometer data handling abstracted.  Confused about gravity