debugging gibbs_metropolis.cu with cuda-memcheck