added automatic shifting of fft results