Added forgotten 'include math.h'
Merge branch 'pr474'