Removed dependency to Rcpp