wip, make into package
Package, and add unit tests
Packaged, made thread safe, added option for expanding moving average window, improved documentation, added tests
Merge pull request #1 from jdsteele/develop

Packaged, made thread safe, added option for expanding moving average window, improved documentation, added tests