Move math util to new math/util.h header

Removed unreferenced variable from core/string test.