Changed t test samplers to Rcpp