MathClasses made coherent with the python one. Calibrator translated
from python