Changed compiler name and options to improve efficiency on Sharcnet, moved code out of loop for Wolff update to improve efficiency