grid sequencing now fully working, working on plotting convergence history next