Version 0.10.0. Major changes in the code, added roxygen documentation, cleaned script files, changed from multicore to parallel