Improved contour splitting, and angle/ecc calcs.
Rebagger script.