Returns the matrix product of two arrays