diff --git a/spectral-clustering.cabal b/spectral-clustering.cabal
--- a/spectral-clustering.cabal
+++ b/spectral-clustering.cabal
@@ -1,37 +1,39 @@
-name:                spectral-clustering
-version:             0.2.1.2
-synopsis:            Library for spectral clustering.
-description:         Spectral clustering of a matrix.
-homepage:            http://github.com/GregorySchwartz/spectral-clustering#readme
-license:             GPL-3
-license-file:        LICENSE
-author:              Gregory W. Schwartz
-maintainer:          gsch@mail.med.upenn.edu
-copyright:           2018 Gregory W. Schwartz
-category:            Math
-build-type:          Simple
--- extra-source-files:
-cabal-version:       >=1.10
-
-library
-  hs-source-dirs:      src
-  exposed-modules:     Math.Clustering.Spectral.Dense
-                     , Math.Clustering.Spectral.Sparse
-                     , Math.Clustering.Spectral.Eigen.FeatureMatrix
-                     , Math.Clustering.Spectral.Eigen.AdjacencyMatrix
-  build-depends:       base >= 4.7 && < 5
-                     , clustering
-                     , eigen == 3.3.4.1
-                     , hmatrix
-                     , hmatrix-svdlibc
-                     , mwc-random
-                     , safe
-                     , sparse-linear-algebra
-                     , statistics
-                     , vector
-  ghc-options:         -O2
-  default-language:    Haskell2010
+cabal-version: >=1.10
+name: spectral-clustering
+version: 0.2.1.3
+license: GPL-3
+license-file: LICENSE
+copyright: 2018 Gregory W. Schwartz
+maintainer: gsch@mail.med.upenn.edu
+author: Gregory W. Schwartz
+homepage: http://github.com/GregorySchwartz/spectral-clustering#readme
+synopsis: Library for spectral clustering.
+description:
+    Spectral clustering of a matrix.
+category: Math
+build-type: Simple
 
 source-repository head
-  type:     git
-  location: https://github.com/GregorySchwartz/spectral-clustering
+    type: git
+    location: https://github.com/GregorySchwartz/spectral-clustering
+
+library
+    exposed-modules:
+        Math.Clustering.Spectral.Dense
+        Math.Clustering.Spectral.Sparse
+        Math.Clustering.Spectral.Eigen.FeatureMatrix
+        Math.Clustering.Spectral.Eigen.AdjacencyMatrix
+    hs-source-dirs: src
+    default-language: Haskell2010
+    ghc-options: -O2
+    build-depends:
+        base >=4.7 && <5,
+        clustering >=0.4.0,
+        eigen ==3.3.4.1,
+        hmatrix >=0.19.0.0,
+        hmatrix-svdlibc >=0.5.0.1,
+        mwc-random >=0.13.6.0,
+        safe >=0.3.17,
+        sparse-linear-algebra >=0.3.1,
+        statistics >=0.14.0.2,
+        vector >=0.12.0.1
