Fixed bug in contraction of data in tensors
Merge pull request #2601 from Upabjojr/fix_tensor_bug

Fixed bug in contraction of data in tensors