Signal processing in Haskell part 2