update t-test and ssmd functions