started work on #25
added smoothing, works real nice (for #25)
early work, still no downsampling (for #25)
This closes #25
Merge pull request #39 from audy/the-real-sliding-window

The real sliding window