adjust dynamic fractional masking formular

Currently, dynamic fractional masking only produces reasonable results if the sum of the weights for a target is 1.0. In the unit tests for raw data exchange an additional normalisation using the sum of weights is used, which also produces good results in all other cases.

Adjust dynamic fractional masking accordingly.