Complex trimming of curves

The problem is that sometimes curve area measurements are now negative. I’m hopeful it will be fixed within the week, but in the meantime I’ll add a bunch of abs() calls into my code, so if you’re on the Service Release Candidate update schedule you should hopefully get a fixed version this or next Tuesday.