Using the Sequence-Space Jacobian to Solve and Estimate Heterogeneous-Agent Models