Replaced incompatible polynomials library with my own. closes #2