accessing accelerometer

now have both arrays of data from magnetometer and accelerometer!