trying out some new methods for avging multidimensional sets