Updated DEFINE
Added TI-89 code