fixing bug for shock_decomposition with calibrated model (issue #259)