Function returning pointer to (i,j) element of a matrix.
Function returns a pointer to the (row,col) entry of the matrix.