StatMatchRcpp converts some slow R functions to Rcpp-Armadillo functions.