Fixed line drawing to allow rectangle grids.

Lines now being frawn in seperate loops, before there only supported a square.
Cells size is now relative to the grid size

Cells size no longer requires specifying, meaning that the grid should now
work on multiple size screens.