added diagonal function to matrix.rb
added getDiagonal method
Merge branch 'master' of https://github.com/amccann/Rubix