updated call to RcppArmadillo in example