FFT for accelerometer data