add mean in MChem_tools