changed the math functions to use unsigned long long