Reordered inputs to dispersion_check within whistler_detect.