Added method to find average distance between cluster centers