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.