Optimizations and tuning the domain partitioning.
Add assert for global minimization result
Fix order of phase removing and variable rebuild after global minimization.
Small formatting fixes.
Global minimization sort of works, but there are new bugs.
Warning messages (but no handling) for no minima detected during global minimization.
Fiddling with domain sampling parameters for global minimization. Still no magic set of parameters...