Wrote functions for calculating fluxes.
Added calculation and printing of fluxes.
Added plotting of fluxes function and control.