calc_error_relative_to_nontargets function

Calculate response error relative to non-target values