diff --git a/modularity.cabal b/modularity.cabal
--- a/modularity.cabal
+++ b/modularity.cabal
@@ -1,33 +1,35 @@
-name:                modularity
-version:             0.2.0.3
-synopsis:            Find the modularity of a network.
-description:         Report Q, the Newman-Girvan modularity of an adjacency matrix.
-homepage:            http://github.com/GregorySchwartz/modularity#readme
-license:             GPL-3
-license-file:        LICENSE
-author:              Gregory W. Schwartz
-maintainer:          gsch@pennmedicine.upenn.edu
-copyright:           2018 Gregory W. Schwartz
-category:            Bioinformatics
-build-type:          Simple
--- extra-source-files:
-cabal-version:       >=1.10
-
-library
-  hs-source-dirs:      src
-  exposed-modules:     Math.Modularity.Dense
-                     , Math.Modularity.Sparse
-                     , Math.Modularity.Types
-                     , Math.Modularity.Eigen.Sparse
-  build-depends:       base >= 4.7 && < 5
-                     , eigen == 3.3.4.1
-                     , hmatrix
-                     , sparse-linear-algebra
-                     , spectral-clustering
-                     , vector
-  ghc-options:         -O2
-  default-language:    Haskell2010
+cabal-version: >=1.10
+name: modularity
+version: 0.2.0.4
+license: GPL-3
+license-file: LICENSE
+copyright: 2018 Gregory W. Schwartz
+maintainer: gsch@pennmedicine.upenn.edu
+author: Gregory W. Schwartz
+homepage: http://github.com/GregorySchwartz/modularity#readme
+synopsis: Find the modularity of a network.
+description:
+    Report Q, the Newman-Girvan modularity of an adjacency matrix.
+category: Bioinformatics
+build-type: Simple
 
 source-repository head
-  type:     git
-  location: https://github.com/GregorySchwartz/modularity
+    type: git
+    location: https://github.com/GregorySchwartz/modularity
+
+library
+    exposed-modules:
+        Math.Modularity.Dense
+        Math.Modularity.Sparse
+        Math.Modularity.Types
+        Math.Modularity.Eigen.Sparse
+    hs-source-dirs: src
+    default-language: Haskell2010
+    ghc-options: -O2
+    build-depends:
+        base >=4.7 && <5,
+        eigen ==3.3.4.1,
+        hmatrix >=0.19.0.0,
+        sparse-linear-algebra >=0.3.1,
+        spectral-clustering >=0.2.1.1,
+        vector >=0.12.0.1
