add Chi squared distance