corrected number of cores for parallel runs
added tests for HB models estimated by MCMC
loading libraries should not be needed in demo