Wrote filter to calculate surface mesh field average values.