adds method "maxValue" in class StatAndMathTools