added conditional statement to check for empty dictionary generated from neighbors.
Merge branch 'master' of https://github.com/markpooley/LOC_Aggregation