computing gelman factors in cpu version