centroids function

Group Centroids and (Pooled) Variances