Fix error in balancer's element grouping
Fix error in balancer's element grouping

We need to do the grouping at the beginning of the function and
keep storing the grouped molecules, so both the name gathering
and the matrix building happens with grouped molecules.

opp11/chemtool2