Changed old C99 math functions to overloaded C11 math functions in <math>