Work on Rectification

- rectifing the points of the squares
- doesn't work very well... but al least works a bit...
- added computation of scale, rotation and translation of rectified rectangle