Setting Up Accelerometer