Simple oFx/iOS accelerometer and orientation