Window function input changed to double[]
Fourier transform implemented
Complex numbers support
Misc refactoring/changes