This differs from the approach to computing GIRF's in Balke(2000) as the code here
- Uses random normals rather than bootstrapping
- Computes the GIRF's from a single set of initial conditions rather than averaging across all possible values.
The technical details for the calculations are described in the Structural Breaks and Switching Models course.