Doc fix about tensorinv.

The output shape documented isn't good.
Well, it certainly makes more sense than the original ;) I'll take your word for it.