added FFT and characteristic frequency function