More work on tiler (both report and implementation)

- GetRectangles now runs in constant time in most cases, and falls back to linear time as worst case.
- More text and figures for report.