add __global__ metropolis(unfinished)