Circular flow with savings and investment