Finished flux calculations kernel