fixing metric of sum operator

Merged Reimar H Leike requested to merge fixes2 into NIFTy_5

metric of sum operator was failing due to domain mismatch when there it is chained with a more complicated operator.

Merge request reports