utilities for averaging computed data