FuelFlowSimulation optimizations.

Most importantly, the calculation of the FuelNode.decoupledInStage values
was changed from an O(N^2) algorithm to an O(N) one. Based on profiling
this cuts the cost of StartSimulation by 50-70%.