Added tensor function for tensor visualization as ellipsoids