Add check for negative signal

This can happen, eg, after eddy-current correction etc