Great refactoring
long[] -> Vector
long[] -> Polynomial
long[][] -> Matrix