Created effect size function and some miscellaneous things