libmath_func: unnecessary includes removed