RunningStats-class function

Class to calculate mean and variance in one pass