Added methods compute_knn_distances and outliers_by_knn