fix dependency in .cabal file, and cleaning DynamicPlot.hs