Fixed a bug

Fixed a bug in the GridMap class that was preventing the simulations
that I wrote last night from running.