mikera/core.matrix — pull request #109 by prasant94 (2014-03-07 19:19:33+00:00)
Title: Completed the diagonal function and added tests.

I changed the code to use ```cond``` and the function returns an empty vector for values of k that are out of range