Calculates the number of points in a mesh of fineness phi, covering a hypercube in d dimensions
Useful links