Create math_tools.py