extended neighbour functions & fixed adamic/adar in borderline cases
added path length