Patches to fix the non-compliance of the tensor module with test_args tests.
removed commented out code
Merge pull request #2445 from Upabjojr/fix_tensor_args

Fix some defects in tensor module.