Calculates the subtraction of two matrices.