TensorInv

Added tensorinv function.
This is not true. As your tests didn't find this, also update your test. Check the numpy fct doc, it tell the output shape.