Changing back to double tensor pointer