updated make targets
fixed memory access for flushing of accelerometer buffer
updated accelerometer tests to include accelerometer setup