neyman_chi_sq function

Neyman chi-squared distance (lowlevel function)