added a diagonal method to the shortcuts

added a diagonal matrix shortcut
Merge branch 'master' of https://github.com/ryanmt/nmatrix