okay, tried to change mcmc.c even more to avoid expensive memory writing back and forth from gpu to cpu