changed isTensor and commented
Bug fix
Work in progress, making new nice list for index substitution.
Bug fix