Basic implementation of lasso repeating.  Need to use it on a few PDFs to determine if a simple repeated rectangle is a sufficiently common pattern.