error in setup_kernel and curand_normal