added diagonals() shortcut

I added a function to allow for simple (one argument) diagonal NMatrix creation.  It seemed like it would be useful to me.