An Asset Pricing Model with Adaptive Heterogeneous Agents and Wealth Effects