Add code file with pollutantmean function v2