added moving averages

Added a class and extension methods for a simple moving average (mean over a moving window of data). The class version allows for updating (extending) the averages by adding additional data.

I'll added weighted and exponential moving averages in the future.