PACE based on Rcpp and RcppEigen