Statistics class able to calculate average value and standard deviation.