scalePolygon added in the main

The function "scalePolygon" can now be used in the main