Add window smoothing

While the aae is 8.00467 when no smoothing, we get 7.489253 BPM when we
have middle-type smoothing window, size = 11.
Merge pull request #3 from WeiTang114/window_smoothing

Add window smoothing