add cartel behavior

First branch experiment.  Adding functions to make cartel optimizations
work.
CartelEarn works

Although rounding errors seem to compound compared to Mathcad... As of
today this code matches results on frontierpapesquatter120212.xmcd
Merge remote-tracking branch 'origin/cartelopt'