math-library for haskell