pollutantmean and complete functions (tested accordiong to sample output)