Make sure gridsize is a whole number
Merge pull request #37 from steel/gridsize

Make sure gridSize is a whole number