Improve includes in util/math_functions.hpp

This PR removes the redundant `<math.h>`, and adds the necessary `<stdint.h>` (for `uint32_t`) and `<glog/logging.h>`. The NOLINT is necessary since cpplint seems to think that `<glog/logging.h>` is a C system header. Passes tests and lint.