Finalize accelerometer testing. Add variables to change number of measurements and update interval.