correcting some bugs. Now working.
Merge branch 'master' of https://github.com/julesw/rectangle_table_detection