Adding a new function which extracts the minor at index [i,j] of a matrix.