% update counts vector</span>
0145         numpts(first) = numpts(first) + numpts(second);
0146         numpts(second) = 2;   <span class="comment">% leaving this as 2 prevents div by zero during normalization above</span>
0147         
0148         <span class="comment">% make a tree entry for the aggregation we just performed</span>
0149         tree = cat(1, tree, [first, second, best, scores(3)]);
0150 
0151         <span class="comment">% Now actually change the numbers</span>
0152         assignments(