Changes to NeighbourhoodGraph class

* no longer generic
* added/changed comments