finished accelerometer app-need to test