Revert "took out averageing"

This reverts commit 2ec330d2631509a7fb44f0653fe60169c3bd8a85.