Fixed grids in Levels 3-5. Fixed issue causing division by zero.