statistical improvements

massaging data such that points with no neighbours are not included