Two-shape-tensor model for tumbling in nematic polymers and liquid crystals.