_calc_twiss_ is apparently calculating energy-dependent first-order dispersion function with bugs.
calc_twiss is apparently calculating energy-dependent first-order dispersion function with bugs.