Calculate the index of the maximum for each column of a Matrix.
This function identifies the index of the maximum for each column of a Matrix.