add get_diagonal_vector() method to SGMatrix class
Merge pull request #1451 from votjakovr/feature/get_diagonal_vector

Add get_diagonal_vector() method to SGMatrix class