Fix building gapfill solution for iterative gapfilling (or any other in which not only biomass is gapfilled). Presumes (perhaps wrongly?) that the total solution is always the LAST line
Fix embarassing mistake. This seems to work now.
Merge commit '8cd2684048d1dea83536ac7f41fb12a068d61b6a'