An Almost Ideal Demand System