added functions for ttest and Wilcoxon test
as before