add calculations of cs, line_energy, jumpfactor