THEMA3 moved flux calculation to package