fixed errors in previous commit of math.h