Given the arguments to the function, locate the cell in the matrix and use its value as the result of the function.