Perturbation (2nd and 5th order)

Perturbation (2nd and 5th order), as detailed and used to compute the benchmark calibration in "Comparing solution methods for dynamic equilibrium economies". This code may be freely reproduced for educational and research purposes, so long as it is not altered, this copyright notice is reproduced with it, and it is not sold for profit. Consent of the corresponding author (Jesus Fernandez-Villaverde) must be obtained before using all or any part of this code in a publication.