clean up
working naive DBSCAN