changes to dist_means
- can now specify a minimum grain size to calculate the mean with