added some functionality for output: centers of clusters, dispersion and min distance between points in clusters