TensorSolve

Added tensorsolve function.
I think you should make this subclass unittest.TestCase for consistency.