Using Hann windowing function.

Not sure if this is the best one to use.