diff --git a/THANKS.md b/THANKS.md
--- a/THANKS.md
+++ b/THANKS.md
@@ -120,7 +120,8 @@
 
 - Takano Akio fixed off-by-one errors in gsl-aux.c producing segfaults.
 
-- Alex Lang implemented uniRoot and uniRootJ for one-dimensional root-finding.
+- Alex Lang implemented uniRoot and uniRootJ for one-dimensional root-finding, and
+  fixed asRow and asColumn for empty vectors.
 
 - Mike Ledger contributed alternative FFI helpers for matrix interoperation with C
 
@@ -167,4 +168,6 @@
   don't provide shared lapack libraries.
 
 - Ian Ross reported the max/minIndex bug.
+
+- Niklas Hambüchen improved the documentation.
 
diff --git a/hmatrix.cabal b/hmatrix.cabal
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -1,5 +1,5 @@
 Name:               hmatrix
-Version:            0.16.0.5
+Version:            0.16.0.6
 License:            BSD3
 License-file:       LICENSE
 Author:             Alberto Ruiz
diff --git a/src/Data/Packed/Internal/Matrix.hs b/src/Data/Packed/Internal/Matrix.hs
--- a/src/Data/Packed/Internal/Matrix.hs
+++ b/src/Data/Packed/Internal/Matrix.hs
@@ -253,7 +253,8 @@
     operations for selected element types.
     It provides unoptimised defaults for any 'Storable' type,
     so you can create instances simply as:
-    @instance Element Foo@.
+
+    >instance Element Foo
 -}
 class (Storable a) => Element a where
     subMatrixD :: (Int,Int) -- ^ (r0,c0) starting position 
diff --git a/src/Data/Packed/Matrix.hs b/src/Data/Packed/Matrix.hs
--- a/src/Data/Packed/Matrix.hs
+++ b/src/Data/Packed/Matrix.hs
@@ -284,7 +284,7 @@
 --   [ 1.0, 2.0, 3.0, 4.0, 5.0 ]
 --
 asRow :: Storable a => Vector a -> Matrix a
-asRow v = reshape (dim v) v
+asRow = trans . asColumn
 
 -- | creates a 1-column matrix from a vector
 --
@@ -297,7 +297,7 @@
 --  , 5.0 ]
 --
 asColumn :: Storable a => Vector a -> Matrix a
-asColumn = trans . asRow
+asColumn v = reshape 1 v
 
 
 
