The authors would like to acknowledge the help of the CRAN team to integrate C++ code with R.