moved ==/!= to tensor classes