Add missing <cmath> includes