Finished SmartWeightManager, which required introducing WeightResult.
Also fixed a small mistake in CleverGraph.