Affine General Equilibrium Models