clojure matrix-repl thing, the last two methods in src/matrix/core.clj are the only interesting bits