C++ polynoms library