Split off util math code from rest of util
- Now can use util in CUDA without conflicting with CUDA math types.