Added instance for TensorInv function.