Add flip func to Ising.h and other small changes