Rcpp integration for MLPACK library