TensorSolve

Added tensorsolve function.
Forget that comment. I was loooking at the wrong file.