Fixed every bug I could find in Cgol, the simulation now wraps perfectly on all edges