Complete rewrite of options setup
Ensure options from intlinprog cast as struct