fixing detached head, adding significance testing of rg pearson