FPEnvironment, changed <math.h> to <cmath>