Statistics computations class