invcmp function

Changing component sign