def math_commands():
    """Provides list with math commands - we need this when using eval"""
    from math import acos, asin, atan, atan2, ceil, cos, cosh, exp, floor, log, pi, pow, sin, sinh, sqrt, tan, tanh
    functions = ['acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh',
        'exp', 'floor', 'log', 'pi', 'pow', 'sin', 'sinh', 'sqrt', 'tan',
        'tanh']
    mathdefinitions = {}
    for f in functions:
        mathdefinitions[f] = locals().get(f, None)
    return mathdefinitions
