Polynomial and matrix computations. Vol. 1. Fundamental algorithms