xy-metro Metropolis algorithm for the simulation of a spin system published under gnu public license version 3, except UWerr.m by Ulli Wolff https://arxiv.org/pdf/hep-lat/0306017.pdf