TensorSolve

Added tensorsolve function.