residop function

Residual Operator