Working sqdist function using saturation arithmetic. But randomized tests are failing if you use uints-turned-into-ints as your point coordinate type.