More accelerometer support. Now working for basic accelerometer assignments...