fix: do not change sign of residual form in realclassify.lib