Builds a new matrix whose values are computed by:
the new matrix
defines the first matrix
defines the second matrix
defines the gradient between the two matrices
Builds a new matrix whose values are computed by:
Returns
the new matrix