Added define MATH_SCALE_H.