Updates moving average code to remove use of numpy.
Remove unused import.
Fix error when static method compute is called with integer total.
Bug fix.
Merge pull request #1538 from scottpurdy/moving-average

Updates moving average code to remove use of numpy.