Tensor Inner Product