Profile of math_functions