updates to accommodate changes to Rcpp

changes to .cpp files using asSexp() - changed to get__ for
compatibility with new versions of Rcpp