Implement simple FFT window function.
Merge branches.