Add a function that uses different definitions to calculate the domain average of energy and enstrophy transfers.