adding in numerical version of relative dispersion, still editing