Added Metropolis, needs testing