Adding Haskell Package AD for automatic differentiation