public void Clear(int span)
        {
            data = new ShiftingArray<double>(span);
            Span = span;

            _mean = 0;
            _variance = 0;
        }
 public RunningAverage(int span)
 {
     data = new ShiftingArray<double>(span);
     Span = span;
 }