A library of numerical methods for Haskell