Add math libs to header file, set namespace on math functions