Made some small corrections to grid.py and polygon.py