New order to make the calculations

Now the calculations start from the north most vertex.
If the geometry is a polygon the rotation is set to be clockwise.
New version.

Calculations start from the north most vertex and in clockwise direction (in case of a polygon).