Fixed bugs in the weighted tree structure, so the simulation now runs without memory leaks. Added ability to weight decomposition reactions by molecule length.