edits to calcs.rel_dispersion_calc