Rectangle detection working. Readme updated.