added integrated transport calculation and avg flux calculation to fluxes()