Cleaned up constrained code (streamlined), removed sub-optimal sum of
weights constraint and meq=1. Now much cleaned, easier to modify etc.
Cleaning up examples, tidying code