half day commit

commit after working for half a day. having problems with accelerometer
norms not matching. If switch signs on W and Gloadnorml, results are
close. Might be a left handed coordinate system.