TensorSolve

Added tensorsolve function.
rename to TensorSolve and create an instance as tensorsolve. Move the docstring to after that instance to better show up in the doc.