r_from_chi function

Chi-Squared to Correlation