Added functions to retrieve the columns and diagonals of a matrix