added orientation/centroid checks in geom