Increased efficiancy by only swapping the pixels if the change is
beneficial, instead of measuring fitness, swapping pixels, measuring
fitness again and then swapping back if necessary