Bug fix missing <cmath>