implemented kronecker product of tensors