Reformat of math library with astyle.