some small speedups.
cleanup
maybe some progress. stupid structural zeros
opening up maxmarginals.