Major reorganization of Assembly Bias model.

Passes the standard test of the derived mean_nsat = underlying mean_nsat, even in wildly pernicious cases.
All the same, I am not 100 percent confident. Can always revert to the previous commit, which was
uglier. Add more non-trivial tests to the test suite before moving on.