Moved cmath include to a better place.