Code simplification.
Merge branch 'master' of https://github.com/argyle77/tensorPattern