cohen_d_for_one_sample function

Calculate Cohen's d to accompany a one-sample t-test