getNeighbors function

Calculates local neighborhood density around each individual in a mapped dataset