Joined index and t parameters in addVar externally.
Added top sort for declaring models in workable order.