Add tensor substitution method
Add tensor substitution method

This is going to be the master substitution method, which can be used to
make basically all kinds of substitutions to be performed on tensors.

tschijnmo/drudge,tschijnmo/drudge,tschijnmo/drudge