diff --git a/calculator.cabal b/calculator.cabal
--- a/calculator.cabal
+++ b/calculator.cabal
@@ -1,5 +1,5 @@
 name:                calculator
-version:             0.4.0.0
+version:             0.4.0.1
 synopsis:            A calculator repl, with variables, functions & Mathematica like dynamic plots.
 description:         A calculator repl that processes mathematical expressions.
                      Does basic arithmetic, and provides pre-defined basic mathematical functions.
@@ -46,6 +46,7 @@
                      , plot-gtk-ui
                      , gtk
                      , transformers
+                     , hmatrix >=0.11 && <0.17
   hs-source-dirs:      src/
   ghc-options:         -Wall
   default-language:    Haskell2010
