fix polygon area calculation so that it also works for ccw polys