Re-fix cal residual should not be absolute value