Thanks a lot for the response.
Can you elaborate what do you mean by:
“You should also pick the absolute value not to invert the sign if the sum is negative. It’s not defined when the sum is 0 since weights already sum 1”
In addition, it is ill posed problem anyway, why do you say that when enabling negative values makes it ill posed problem?
Thanks!