OPTIMAL CONTROL OF AN INVENTORY SYSTEM WITH VARIABLE DEMAND & AMELIORATING / DETERIORATING ITEMS