Correct behavior of function fit_signals_dc_offset() with inverted signals which contain a dc-offset.