Initialization and corrections of fluxes

iniFlag in Data export and corrections of bugs in fluxes