This function is identical to diff'(Matrix,Matrix), except that the multiplication by integers that occurs during differentiation is omitted.

- contract -- contract one matrix by another
- diff and contract

- contract'(Matrix,Matrix) -- contract a matrix by a matrix, the dual notion