added Rcpp sugar pow