Gridding Distances

* Diffusion Distance Added
* Gridding enabled distance measures added