Added visualization and quality measures for clustering.

Added visualization and quality measures for clustering.