math-toolbox: edited. prob added