calc_ncp_chi2 function

Find the non-centrality parameter corresponding to Type I error rate and statistical power