Refactored the dax probing code to easier to read and modify.

Created a new class that holds all the uniform grid probing code,
plus refactored the way create the probe executable so that we can
share the code with the cuda executable.