Restructured AST to better reflect the math functions tamale will use, need to fix everything