Extract and fix extent/intersection calculations

Extents are now [[min x, min y], [max x, max y]].
Fix extent and difference rendering for multi polygons