rewrote the diffusion part. Finished Metropolis.