added effect size for t-test, modifed working of t-test