A C++ Math Compiler Framework