Updated the meshGrid. Instead of just coordinates, it will now build a grid of [(x,y), fractionalEnergy]. This is an upadte to improve generalizability and make it easier to implement different algorithms.