update vigns
switch to Rcpp Attributes for C++ API
switch to Rcpp Attributes for C++ api