adding documentation for distanceCluster