Added preliminary paging, and paging related calculations
Merge branch 'master' of https://github.com/saparatus/grid