Initial add of math functions.