Speed chain ladder analysis with Rcpp