Fixed bug in determining control volume fluxes