Some simply functions for mean computation have been implemented