pollutantmean() function added