Adding fft length calculator and test.