Added accelerometer code which doesn't do anything now.