replaced Rcpp.h with RcppEigen.h to hopefully make it compile on windows