add documents for mean_and_xxx functions