condense function

Compositional Mean of Data Subsets