Math helper file.