Element-wise matrix multiply.
Multiply each element in the matrix with the corresponding element of the input matrix.