implemented hanning window
small change
Merge pull request #54 from hughrawlinson/hanning

implemented hanning window
fixed merge conflicts