updates to 2d metropolis code, run on oscar