added missing ttest and ttest2 funcs