Feed-forward neural network with backpropagation for Haskell