Low-dimensional linear algebra primitives for Haskell.