extended procedures from polynomial to function to compute condition numbers
with numerators and denominators as extra output