Wage Formation, Investment Behavior and Growth Regimes: An Agent-Based Analysis