Pass angle from radians to degrees
Change sign of angle -> better but not always good
Fix error when touch screen
Improvements :
Save all of the resample points etc
Implement the shape detection for rectangle, trapeze, losange
Add button to display Shapes
Improve the algorithm