Calculates the Kronecker multiplication of two matrices.