Adjust spacing and tabs and add cmath header for arctan