Small routine to perform "gridding" of arbitrary, floating XYZ data.

The gridding algorithm creates a fixed, regular grid of aproximate values using XYZ data.