Fix several bugs in polynomial arithmetic, added test cases.
Fix PolyGcd, add unit test.
WIP on matrix implementation used by interpolate.
Add matrix unit tests, implement swapRows, scmult, rowsub.