Improved Greiner-Hormann Polygon clipping with support for degenerates in pure-Python