problem with mod file

Hi
I have tried to code the code from "understanding the effects of covernment spending on consumption", but something is clearly wrong as i keep getting residuals. Have spent the last two day trying to figure it out but is still clueless. Would anyone mind taking a look? (my thesis is due this week so in trouble)
http://www.nber.org/papers/w11578
I have tried to code the code from "understanding the effects of covernment spending on consumption", but something is clearly wrong as i keep getting residuals. Have spent the last two day trying to figure it out but is still clueless. Would anyone mind taking a look? (my thesis is due this week so in trouble)
http://www.nber.org/papers/w11578