test if polygon is clockwise