Effects of aspirations and habits on the distribution of wealth