ru_rcpp function

Generalized ratio-of-uniforms sampling using C++ via Rcpp