added outputsumconcentrations
fixes to outputsumconcentrations