spartan-array/spartan — pull request #167 by rgardner (2014-07-25 18:58:59+00:00)
Title: Fix diag and diagonal.

In the first commit I fixed diag and made minor style changes that other parts of the file use.

The second commit implements a missing dimension check in diagonal that I had forgotten to implement.