Smets-Wouters(2007) and Dynare 4

You may want to compare your code to a functioning one. Try this one:
[Syntax shock_decomposition)