Added a new class containing static methods for moving averages. You
should use these methods instead of the old ones, which I will remove
soon