haskell library for manipulating and solving algebraic equasions