diff --git a/license.txt b/license.txt
index ce635659846e90ae1f76228dba801c9945dbea05..2dcfdcf07d9ce528f9d9d8c3ee65d8a85a21887e 100644
--- a/license.txt
+++ b/license.txt
@@ -45,7 +45,7 @@ Files: matlab/bfgsi1.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m
  matlab/bvar_toolbox.m matlab/partial_information/PI_gensys.m matlab/qzswitch.m
  matlab/qzdiv.m
 Copyright: 1993-2009 Christopher Sims
-           2006-2011 Dynare Team
+           2006-2012 Dynare Team
 License: GPL-3+
 
 Files: matlab/cmaes.m
@@ -53,6 +53,11 @@ Copyright: 2001-2012 Nikolaus Hansen
            2012 Dynare Team
 License: GPL-3+
 
+Files: matlab/endogenous_prior.m
+Copyright: 2011 Lawrence J. Christiano, Mathias Trabandt and Karl Walentin
+           2013 Dynare Team
+License: GPL-3+
+
 Files: matlab/missing/stats/normpdf.m matlab/missing/stats/gamcdf.m
  matlab/missing/stats/common_size.m matlab/missing/stats/chi2inv.m
  matlab/missing/stats/gaminv.m matlab/missing/stats/gampdf.m
diff --git a/m4/ax_gsl.m4 b/m4/ax_gsl.m4
index af90668fbf51946d00f281d5a92dd4a23a5e221b..11920cdb046bc8c54af6fcefc62a7a95bb418953 100644
--- a/m4/ax_gsl.m4
+++ b/m4/ax_gsl.m4
@@ -2,7 +2,7 @@ dnl Detect GSL.
 dnl We don't use the official M4 macro since it relies on the script gsl-config,
 dnl which does not work when cross-compiling.
 dnl
-dnl Copyright (C) 2010 Dynare Team
+dnl Copyright (C) 2010-2012 Dynare Team
 dnl
 dnl This file is part of Dynare.
 dnl
diff --git a/matlab/@dynDate/colon.m b/matlab/@dynDate/colon.m
index ee260b66ab238f6d880ce242b38f49af6c993fd1..5c6e22f668e19f8afa2ecefb1444c5f65098c8f0 100644
--- a/matlab/@dynDate/colon.m
+++ b/matlab/@dynDate/colon.m
@@ -30,7 +30,7 @@ function sp = colon(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDate/dynDate.m b/matlab/@dynDate/dynDate.m
index f8c7108871cad1a9e407906d71aee7b39b39939c..e6af26bb5a4b05a4d9b98df03455574033df3a67 100644
--- a/matlab/@dynDate/dynDate.m
+++ b/matlab/@dynDate/dynDate.m
@@ -43,7 +43,7 @@ function date = dynDate(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDate/eq.m b/matlab/@dynDate/eq.m
index 0466ce542dcbc7385fa6ada4a3ee5a5274b95398..64367e1d9468181ed73bf019cf81943a2fcfc1be 100644
--- a/matlab/@dynDate/eq.m
+++ b/matlab/@dynDate/eq.m
@@ -29,7 +29,7 @@ function c = eq(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -121,4 +121,4 @@ c = isequal(a.time,b.time);
 %$ t(2) = dyn_assert(i2,1);
 %$ t(3) = dyn_assert(i3,0);
 %$ T = all(t);
-%@eof:2
\ No newline at end of file
+%@eof:2
diff --git a/matlab/@dynDate/format.m b/matlab/@dynDate/format.m
index 93357196d4810a043b32810794ae64ab2771f4d5..df403148ae51e0443ccb7620fd3620a60a10a96e 100644
--- a/matlab/@dynDate/format.m
+++ b/matlab/@dynDate/format.m
@@ -27,7 +27,7 @@ function p = format(date)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDate/ge.m b/matlab/@dynDate/ge.m
index 098988ae7e5af0e10469a6e9d4efd9b2e97e0459..05fa1850da9c3c7dda80a35f5d257873b0012c74 100644
--- a/matlab/@dynDate/ge.m
+++ b/matlab/@dynDate/ge.m
@@ -30,7 +30,7 @@ function c = ge(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -80,4 +80,4 @@ end
 %$ t(3) = dyn_assert(i3,0);
 %$ t(4) = dyn_assert(i4,1);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/gt.m b/matlab/@dynDate/gt.m
index 4cefe3f4e1519f107e2e93f660d96ed3eed8dddc..c881b1942f94976eef730705e9549a6561b7cd17 100644
--- a/matlab/@dynDate/gt.m
+++ b/matlab/@dynDate/gt.m
@@ -29,7 +29,7 @@ function c = gt(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -95,4 +95,4 @@ end
 %$ t(3) = dyn_assert(i3,0);
 %$ t(4) = dyn_assert(i4,0);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/isempty.m b/matlab/@dynDate/isempty.m
index e00b2621295bf38b4a01be57d5406fcda93adea0..ee90a40e3f463c918cc6a7590952d962c09fbf79 100644
--- a/matlab/@dynDate/isempty.m
+++ b/matlab/@dynDate/isempty.m
@@ -27,7 +27,7 @@ function b = isempty(a)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -56,4 +56,4 @@ b = all(isnan(a.time)) && isnan(a.freq);
 %$ % Test if this object is empty
 %$ t(1) = isempty(d);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/le.m b/matlab/@dynDate/le.m
index b3f3dd79f35aa589e86472dfb151cfa5f4194162..14b198330b19bce43f9c8dbbc9e1cf1fd9567bb0 100644
--- a/matlab/@dynDate/le.m
+++ b/matlab/@dynDate/le.m
@@ -30,7 +30,7 @@ function c = le(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -80,4 +80,4 @@ end
 %$ t(3) = dyn_assert(i3,1);
 %$ t(4) = dyn_assert(i4,0);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/lt.m b/matlab/@dynDate/lt.m
index a2f3941c73f63a05750a22bcac760115799df077..0aef47153147de008ce7313074fa2b54e9067c06 100644
--- a/matlab/@dynDate/lt.m
+++ b/matlab/@dynDate/lt.m
@@ -29,7 +29,7 @@ function c = lt(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDate/max.m b/matlab/@dynDate/max.m
index daa62831f16cad2c7b53225f8266df5ab22d7414..451c050f68e069953741fc42e7df90899ac25204 100644
--- a/matlab/@dynDate/max.m
+++ b/matlab/@dynDate/max.m
@@ -29,7 +29,7 @@ function c = max(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDate/min.m b/matlab/@dynDate/min.m
index df8c0c9c31d97c7be421caa775ddd04718584b40..78c7281af5b850d6d40bda9817e713269b27577a 100644
--- a/matlab/@dynDate/min.m
+++ b/matlab/@dynDate/min.m
@@ -29,7 +29,7 @@ function c = min(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDate/minus.m b/matlab/@dynDate/minus.m
index 3559af74dc22ea5b3dc2c7016df9fbf689fc54e2..248cb679c930163884aadfac85c74a884420ffa6 100644
--- a/matlab/@dynDate/minus.m
+++ b/matlab/@dynDate/minus.m
@@ -31,7 +31,7 @@ function c = minus(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -107,4 +107,4 @@ end
 %$ t(4) = dyn_assert(e4,41);
 %$ t(4) = dyn_assert(e5,19);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/ne.m b/matlab/@dynDate/ne.m
index 9a647839a08642e4b30096f5faab25339bd32fa6..d6ae7f1f1efdc8eeed98c8cbfdc9c1e73e0d7b4c 100644
--- a/matlab/@dynDate/ne.m
+++ b/matlab/@dynDate/ne.m
@@ -29,7 +29,7 @@ function c = ne(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDate/plus.m b/matlab/@dynDate/plus.m
index 968e4e610981f4cb0f0ac971750127168d9bdca5..e110596bd288d4cd4413f17908702a5c20701923 100644
--- a/matlab/@dynDate/plus.m
+++ b/matlab/@dynDate/plus.m
@@ -31,7 +31,7 @@ function c = plus(a,b)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -104,4 +104,4 @@ end
 %$ t(3) = dyn_assert(e3.time,d3.time);
 %$ t(4) = dyn_assert(e4.time,d4.time);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/subsref.m b/matlab/@dynDate/subsref.m
index 486983153135e057edd79a3dd3c190a79a7ca383..6186eb6f0dd488beb0b9cbe19b6f948c0805f5b3 100644
--- a/matlab/@dynDate/subsref.m
+++ b/matlab/@dynDate/subsref.m
@@ -32,7 +32,7 @@ function B = subsref(A,S)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -235,4 +235,4 @@ end
 %$ t(1) = dyn_assert(qq.freq,4);
 %$ t(2) = dyn_assert(time,[1938,4]);
 %$ T = all(t);
-%@eof:5
\ No newline at end of file
+%@eof:5
diff --git a/matlab/@dynDate/uminus.m b/matlab/@dynDate/uminus.m
index 3e29d01003ec2289c9da542a802f2adb137036f4..814afe12ef55723842b0b037f0a155ae6613b85c 100644
--- a/matlab/@dynDate/uminus.m
+++ b/matlab/@dynDate/uminus.m
@@ -29,7 +29,7 @@ function b = uminus(a)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDate/uplus.m b/matlab/@dynDate/uplus.m
index 60555f36cc860fb513ee7fe6442d785fa084d2d7..0540572157551587b334f24205133b5be31a78e5 100644
--- a/matlab/@dynDate/uplus.m
+++ b/matlab/@dynDate/uplus.m
@@ -29,7 +29,7 @@ function b = uplus(a)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -115,4 +115,4 @@ end
 %$ t(6) = dyn_assert(e6.time,[1951 1]);
 %$ t(7) = dyn_assert(e7.time,[2001 1]);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDates/append.m b/matlab/@dynDates/append.m
index 8a64cc5f458b0ca3f813ee60af2bee431f6f12b4..651b95e0a1a3db83b56c07c3366d3db219ce75bb 100644
--- a/matlab/@dynDates/append.m
+++ b/matlab/@dynDates/append.m
@@ -30,7 +30,7 @@ function dd = append(dd,a)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDates/sort.m b/matlab/@dynDates/sort.m
index a0ff995ea96ac3d5bb01b88fef56be2e4c3965f5..52467bfc41990ca23db62db81f383b9e05f649ed 100644
--- a/matlab/@dynDates/sort.m
+++ b/matlab/@dynDates/sort.m
@@ -28,7 +28,7 @@ function dd = sort(dd)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynDates/unique.m b/matlab/@dynDates/unique.m
index b1ab9f4c4081f5fa62d68a6e34f3a7a336682b1e..b37292fb82d378d72ecd2ba69777b1b262899f7e 100644
--- a/matlab/@dynDates/unique.m
+++ b/matlab/@dynDates/unique.m
@@ -28,7 +28,7 @@ function dd = unique(dd)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/dynSeries.m b/matlab/@dynSeries/dynSeries.m
index 5566d3ceefd971b430db09863b6aa2d4ba4e9a6c..94114f868ce01e66caa384ad774a731e236a7207 100644
--- a/matlab/@dynSeries/dynSeries.m
+++ b/matlab/@dynSeries/dynSeries.m
@@ -59,7 +59,7 @@ function ts = dynSeries(varargin)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/exp.m b/matlab/@dynSeries/exp.m
index 58c4f71a5bb41d2d18bc3ee2ab94fc641671708e..3690ae4bb756ba4a85ffddeb4848013f9dd7c954 100644
--- a/matlab/@dynSeries/exp.m
+++ b/matlab/@dynSeries/exp.m
@@ -27,7 +27,7 @@ function ts = exp(ts)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/extract.m b/matlab/@dynSeries/extract.m
index a22c211f6a0af055296504da54d34f21c289624f..547501ea6c9057386036286d1b39b65bdb6d0ef4 100644
--- a/matlab/@dynSeries/extract.m
+++ b/matlab/@dynSeries/extract.m
@@ -1,7 +1,7 @@
 function A = extract(B,varargin)
 % Extract some variables from a database.
     
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/horzcat.m b/matlab/@dynSeries/horzcat.m
index 132bf220c119d227273e7b1e2935612574d138c3..97ea8ebc60aeb0ca19bb7109fe011aaa6b1ff674 100644
--- a/matlab/@dynSeries/horzcat.m
+++ b/matlab/@dynSeries/horzcat.m
@@ -39,7 +39,7 @@ function a = horzcat(varargin)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/isempty.m b/matlab/@dynSeries/isempty.m
index b6f2fbb8c16b9561a2c3c10c5e06a6c18ad3c0ab..049ceb7b91c822b7a9a1329ec8a03a3be13c78f7 100644
--- a/matlab/@dynSeries/isempty.m
+++ b/matlab/@dynSeries/isempty.m
@@ -20,7 +20,7 @@ function b = isempty(A)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -39,4 +39,4 @@ function b = isempty(A)
 
 % AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr
     
-b = isempty(A.data) && isequal(A.nobs,0) && isequal(A.vobs,0);
\ No newline at end of file
+b = isempty(A.data) && isequal(A.nobs,0) && isequal(A.vobs,0);
diff --git a/matlab/@dynSeries/log.m b/matlab/@dynSeries/log.m
index 563dfbcbb7a64167d60e028584786d159f59d7b7..dd4127e9bfcaa2ac4fc80a08a025e5924aec00f9 100644
--- a/matlab/@dynSeries/log.m
+++ b/matlab/@dynSeries/log.m
@@ -26,7 +26,7 @@ function ts = log(ts)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/minus.m b/matlab/@dynSeries/minus.m
index fed87a01c277a9296a3eb8d3b81efbeb92535a13..0731729f0bfa028643c60c35fb752d39afb35669 100644
--- a/matlab/@dynSeries/minus.m
+++ b/matlab/@dynSeries/minus.m
@@ -22,7 +22,7 @@ function A = minus(B,C)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/mrdivide.m b/matlab/@dynSeries/mrdivide.m
index bda90a9988c07d84e80531ba0d1cb5e3f978ba5d..cabc916364e5ad4491d2d259180e10c3ca844476 100644
--- a/matlab/@dynSeries/mrdivide.m
+++ b/matlab/@dynSeries/mrdivide.m
@@ -22,7 +22,7 @@ function A = mrdivide(B,C)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/mtimes.m b/matlab/@dynSeries/mtimes.m
index b92c3d726c3346dececaf38a76ce7c9c9426383f..b81cd41457527f0880128e25e6b69f1db2ecc999 100644
--- a/matlab/@dynSeries/mtimes.m
+++ b/matlab/@dynSeries/mtimes.m
@@ -22,7 +22,7 @@ function A = mtimes(B,C)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/numel.m b/matlab/@dynSeries/numel.m
index e53acd80a089156f654d6e2593f12182ded8c942..85cd84962a05b56f411ca3f60de28d691a09dd2f 100644
--- a/matlab/@dynSeries/numel.m
+++ b/matlab/@dynSeries/numel.m
@@ -1,6 +1,6 @@
 function n = numel(obj, varargin)
 
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -17,4 +17,4 @@ function n = numel(obj, varargin)
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-n = 1;
\ No newline at end of file
+n = 1;
diff --git a/matlab/@dynSeries/plus.m b/matlab/@dynSeries/plus.m
index 1cebc04ffd5e59962075cf4452a9d3709aea53d6..9d6482c8f648772a3ae59d5cc6b357f4a1d24373 100644
--- a/matlab/@dynSeries/plus.m
+++ b/matlab/@dynSeries/plus.m
@@ -22,7 +22,7 @@ function A = plus(B,C)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/private/horzcat2.m b/matlab/@dynSeries/private/horzcat2.m
index 28668db57abf0f0fe89b616b4310efa232a24fc0..b25728f486f1a79dd153d83f35e1137067e47dfe 100644
--- a/matlab/@dynSeries/private/horzcat2.m
+++ b/matlab/@dynSeries/private/horzcat2.m
@@ -39,7 +39,7 @@ function a = horzcat2(b,c)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -109,4 +109,4 @@ else
     a.data = [b.data, c.data];
     a.time = unique(b.time.append(c.time));
 end
-a.nobs = size(a.data,1);
\ No newline at end of file
+a.nobs = size(a.data,1);
diff --git a/matlab/@dynSeries/qdiff.m b/matlab/@dynSeries/qdiff.m
index e6b622de779310faed478059b9e53ec65369ebb3..e11dd3b5fe7c1389fcd463f751106a3f12d0d9c6 100644
--- a/matlab/@dynSeries/qdiff.m
+++ b/matlab/@dynSeries/qdiff.m
@@ -22,7 +22,7 @@ function us = qdiff(ts)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -104,4 +104,4 @@ end
 %$ end
 %$
 %$ T = all(t);
-%@eof:2
\ No newline at end of file
+%@eof:2
diff --git a/matlab/@dynSeries/qgrowth.m b/matlab/@dynSeries/qgrowth.m
index a1118f35baf6e46e60bf87505da0a615b3fd2a18..8823e70ca595fcd7e606bcbe210a26e73309f16c 100644
--- a/matlab/@dynSeries/qgrowth.m
+++ b/matlab/@dynSeries/qgrowth.m
@@ -22,7 +22,7 @@ function us = qgrowth(ts)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -104,4 +104,4 @@ end
 %$ end
 %$
 %$ T = all(t);
-%@eof:2
\ No newline at end of file
+%@eof:2
diff --git a/matlab/@dynSeries/save.m b/matlab/@dynSeries/save.m
index 2050661806cb352b9b37abe79b1a10494e04bd18..f2ea10a698cc1903ca83e7524eddcd6f323bdb87 100644
--- a/matlab/@dynSeries/save.m
+++ b/matlab/@dynSeries/save.m
@@ -1,6 +1,23 @@
 function save(A,basename,format)
 % Saves a dynSeries object on disk.
-    
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
 if nargin<3 || isempty(format)
     format = 'csv';
 end
@@ -136,4 +153,4 @@ end
 %$ end
 %$
 %$ T = all(t);
-%@eof:4
\ No newline at end of file
+%@eof:4
diff --git a/matlab/@dynSeries/subsasgn.m b/matlab/@dynSeries/subsasgn.m
index 55e351d0b760b1aeaf8421bf3938e848d5f0f112..4eb6a2d104ccd5c3fd87b1410362820a782e2f98 100644
--- a/matlab/@dynSeries/subsasgn.m
+++ b/matlab/@dynSeries/subsasgn.m
@@ -8,7 +8,7 @@ function A = subsasgn(A,S,B)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/subsref.m b/matlab/@dynSeries/subsref.m
index 249cdbee56aaf841a9921dc3d1f69954a8001a47..a2de5cd6cacec73884d88ae99d6df04285ea1b9a 100644
--- a/matlab/@dynSeries/subsref.m
+++ b/matlab/@dynSeries/subsref.m
@@ -44,7 +44,7 @@ function B = subsref(A, S)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/uminus.m b/matlab/@dynSeries/uminus.m
index edbd45b04d134ca3972e21e3e935dae5592911da..a8a6100f8350ecb6c0281f96123ba8b1bfb607c0 100644
--- a/matlab/@dynSeries/uminus.m
+++ b/matlab/@dynSeries/uminus.m
@@ -22,7 +22,7 @@ function A = uminus(B)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/ydiff.m b/matlab/@dynSeries/ydiff.m
index 5c8972ffd810c3a7fd38549a681c56de0d982379..fbaa0489ceabadc6e16ab375abb773425a5bb13b 100644
--- a/matlab/@dynSeries/ydiff.m
+++ b/matlab/@dynSeries/ydiff.m
@@ -23,7 +23,7 @@ function us = ydiff(ts)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/@dynSeries/ygrowth.m b/matlab/@dynSeries/ygrowth.m
index 626feb162456b3bf360ceff845f335c62c854ab2..32a7161ef1f2ef5e07a98fb880380ec5942194ee 100644
--- a/matlab/@dynSeries/ygrowth.m
+++ b/matlab/@dynSeries/ygrowth.m
@@ -22,7 +22,7 @@ function us = ygrowth(ts)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -138,4 +138,4 @@ end
 %$ end
 %$
 %$ T = all(t);
-%@eof:3
\ No newline at end of file
+%@eof:3
diff --git a/matlab/AHessian.m b/matlab/AHessian.m
index 02cd7f0a3f66008e660ad058d69056d37c97c625..2999ce71595b231d4a0285458adc534ce47bdeed 100644
--- a/matlab/AHessian.m
+++ b/matlab/AHessian.m
@@ -8,7 +8,7 @@ function [AHess, DLIK, LIK] = AHessian(T,R,Q,H,P,Y,DT,DYss,DOm,DH,DP,start,mf,ka
 % NOTE: the derivative matrices (DT,DR ...) are 3-dim. arrays with last
 % dimension equal to the number of structural parameters
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/CheckPath.m b/matlab/CheckPath.m
index fde154c9af57d9edb0f33424982a30f22ac9d78b..7e6c89f811673a3cc9c3f5983085a097e38dfe67 100644
--- a/matlab/CheckPath.m
+++ b/matlab/CheckPath.m
@@ -11,7 +11,7 @@ function DirectoryName = CheckPath(type,dname)
 % SPECIAL REQUIREMENTS
 %    none
 
-% Copyright (C) 2005-2011 Dynare Team
+% Copyright (C) 2005-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/CutSample.m b/matlab/CutSample.m
index 5caf2237dc61f5caa003318bdc3b037177ef0492..cc166a5f0726cd166471b8ffeeb42ea087e640a3 100644
--- a/matlab/CutSample.m
+++ b/matlab/CutSample.m
@@ -14,7 +14,7 @@ function CutSample(M_, options_, estim_params_)
 % SPECIAL REQUIREMENTS
 %    none
 
-% Copyright (C) 2005-2011 Dynare Team
+% Copyright (C) 2005-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/PosteriorIRF.m b/matlab/PosteriorIRF.m
index b452931717da5547c319ea7a9c19e54ff3dd37e6..42e11640a77629c7babb924603c3b6cd044b3dfd 100644
--- a/matlab/PosteriorIRF.m
+++ b/matlab/PosteriorIRF.m
@@ -16,7 +16,7 @@ function PosteriorIRF(type)
 % functions associated with it(the _core1 and _core2).
 % See also the comments random_walk_metropolis_hastings.m funtion.
 
-% Copyright (C) 2006-2012 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/PosteriorIRF_core1.m b/matlab/PosteriorIRF_core1.m
index a08efa3675a6d6c22a1399cd62566efcd4d5626c..20294afa2ffe93251f9fd42ce317cd07143986ca 100644
--- a/matlab/PosteriorIRF_core1.m
+++ b/matlab/PosteriorIRF_core1.m
@@ -22,7 +22,7 @@ function myoutput=PosteriorIRF_core1(myinputs,fpar,B,whoiam, ThisMatlab)
 % SPECIAL REQUIREMENTS.
 %   None.
 %
-% Copyright (C) 2006-2012 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/adaptive_metropolis_hastings.m b/matlab/adaptive_metropolis_hastings.m
index 2b0cb451a83745af7397bb2b8537d87f244f4fd4..08edbc1d4f8f17099e8614200d5721ea0e4fed12 100644
--- a/matlab/adaptive_metropolis_hastings.m
+++ b/matlab/adaptive_metropolis_hastings.m
@@ -34,7 +34,7 @@ function record=adaptive_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv,mh
 % Then the comments write here can be used for all the other pairs of
 % parallel functions and also for management funtions.
 
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/bvar_forecast.m b/matlab/bvar_forecast.m
index 3ce2883cde18d1806a78c4d9df9f418cb936229c..3ee4aad953c8e323775d50ff0062bfdc8efcc723 100644
--- a/matlab/bvar_forecast.m
+++ b/matlab/bvar_forecast.m
@@ -11,7 +11,7 @@ function bvar_forecast(nlags)
 % SPECIAL REQUIREMENTS
 %    none
 
-% Copyright (C) 2007-2012 Dynare Team
+% Copyright (C) 2007-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/cartesian_product_of_sets.m b/matlab/cartesian_product_of_sets.m
index 8781a7e6043b9c1fbab5194d4e4eb960984d736b..8901886ff40a59a2ebde75fd29cabcc10ad0c810 100644
--- a/matlab/cartesian_product_of_sets.m
+++ b/matlab/cartesian_product_of_sets.m
@@ -31,7 +31,7 @@ function cprod = cartesian_product_of_sets(varargin)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/check_model.m b/matlab/check_model.m
index 8ab34e39312bc7e05e30cad716c3cafbb521f6a2..3edf7b74627f4f214ea9d683ba0415a131a6f2f6 100644
--- a/matlab/check_model.m
+++ b/matlab/check_model.m
@@ -1,6 +1,6 @@
 function check_model(DynareModel)
 
-% Copyright (C) 2005-2011 Dynare Team
+% Copyright (C) 2005-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/check_posterior_analysis_data.m b/matlab/check_posterior_analysis_data.m
index f3f7a66150ef53fd5bfa6f8a47493397f12f660c..96c9e78aeedb3afc824f6e8cf4082a12afc6ab45 100644
--- a/matlab/check_posterior_analysis_data.m
+++ b/matlab/check_posterior_analysis_data.m
@@ -1,6 +1,6 @@
 function [info,description] = check_posterior_analysis_data(type,M_)
 
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/conditional_variance_decomposition_mc_analysis.m b/matlab/conditional_variance_decomposition_mc_analysis.m
index e896f10a7bb1d3bd852f7f1e322bfb3d3d886cbd..0042398001db9ec0941a0e91d20c309436f61053 100644
--- a/matlab/conditional_variance_decomposition_mc_analysis.m
+++ b/matlab/conditional_variance_decomposition_mc_analysis.m
@@ -3,7 +3,7 @@ function oo_ = ...
 % This function analyses the (posterior or prior) distribution of the
 % endogenous conditional variance decomposition.
 
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/correlation_mc_analysis.m b/matlab/correlation_mc_analysis.m
index 3625955da09d036bb036f41ea83b9f4eeaf52e53..4654b50bd55dcebe1c43ccb41e25caaa335087e2 100644
--- a/matlab/correlation_mc_analysis.m
+++ b/matlab/correlation_mc_analysis.m
@@ -2,7 +2,7 @@ function oo_ = correlation_mc_analysis(SampleSize,type,dname,fname,vartan,nvar,v
 % This function analyses the (posterior or prior) distribution of the
 % endogenous variables correlation function.
 
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/cosn.m b/matlab/cosn.m
index 216efd19388339ac1a0927b53c6125cb5d2716a3..8fcf7fb79f7c5acb80918bc173f0611cbb883896 100644
--- a/matlab/cosn.m
+++ b/matlab/cosn.m
@@ -7,7 +7,7 @@ function [co, b, yhat] = cosn(H);
 % Not the same as multiple correlation coefficient since the means are not
 % zero
 %
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/covariance_mc_analysis.m b/matlab/covariance_mc_analysis.m
index b35060e4026037edb98f5b842410cda8ca6f0013..a24ec665e27c7d71f3041c742e4e6f062aada26d 100644
--- a/matlab/covariance_mc_analysis.m
+++ b/matlab/covariance_mc_analysis.m
@@ -2,7 +2,7 @@ function oo_ = covariance_mc_analysis(NumberOfSimulations,type,dname,fname,varta
 % This function analyses the (posterior or prior) distribution of the
 % endogenous variables covariance matrix.
 
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/cubature_with_gaussian_weight.m b/matlab/cubature_with_gaussian_weight.m
index d62cc74cf755759855ea9dafe1ac9f3df4fb46de..032ed196fb6a289e9fc673cf074d28e86b66ef8a 100644
--- a/matlab/cubature_with_gaussian_weight.m
+++ b/matlab/cubature_with_gaussian_weight.m
@@ -34,7 +34,7 @@ function [nodes, weights] = cubature_with_gaussian_weight(d,n,method)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/disp_identification.m b/matlab/disp_identification.m
index ccc62ced773f2f33985e2e25cb346f646741e882..0badae9767ea40b34b2d5c5e5c31217647981d31 100644
--- a/matlab/disp_identification.m
+++ b/matlab/disp_identification.m
@@ -1,6 +1,6 @@
 function disp_identification(pdraws, idemodel, idemoments, name, advanced)
 
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/disp_th_moments.m b/matlab/disp_th_moments.m
index cf3397a646bd5406ceb1be376f00a55746ad0f92..6db80e8394d0fcb4b6152c6caf3b73f7f5030f32 100644
--- a/matlab/disp_th_moments.m
+++ b/matlab/disp_th_moments.m
@@ -1,7 +1,7 @@
 function disp_th_moments(dr,var_list)
 % Display theoretical moments of variables
 
-% Copyright (C) 2001-2011 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/display_conditional_variance_decomposition.m b/matlab/display_conditional_variance_decomposition.m
index ed4f334fcea4de3d708f10b288bb8fec6e46871c..d0b2e65369917ca1cb5a602f3a5b5571792b5ea7 100644
--- a/matlab/display_conditional_variance_decomposition.m
+++ b/matlab/display_conditional_variance_decomposition.m
@@ -16,7 +16,7 @@ function oo_ = display_conditional_variance_decomposition(Steps, SubsetOfVariabl
 % [1] The covariance matrix of the state innovations needs to be diagonal.
 % [2] In this version, absence of measurement errors is assumed...
 
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/dr_block.m b/matlab/dr_block.m
index 5c9c1b2167f9b6b67a6d7dcc7311ef808ae95341..fd63743bfe43025ea3cf8b4b8ff4318c8d49c215 100644
--- a/matlab/dr_block.m
+++ b/matlab/dr_block.m
@@ -33,7 +33,7 @@ function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_)
 %   none.
 %  
 
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/dsge_likelihood.m b/matlab/dsge_likelihood.m
index 7f52229b8f51f027e9a1bdb53ce880c432c699fc..225993af050271a0ec8d1380ca3497763783cf4f 100644
--- a/matlab/dsge_likelihood.m
+++ b/matlab/dsge_likelihood.m
@@ -111,7 +111,7 @@ function [fval,DLIK,Hess,exit_flag,ys,trend_coeff,info,Model,DynareOptions,Bayes
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2004-2012 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/dyn_forecast.m b/matlab/dyn_forecast.m
index 1804b9a67887f1fab7c607e98b8f60c2fb0fa315..bea68db53b3e60014fdf574863fe94ee3f56d11f 100644
--- a/matlab/dyn_forecast.m
+++ b/matlab/dyn_forecast.m
@@ -16,7 +16,7 @@ function info = dyn_forecast(var_list,task)
 % SPECIAL REQUIREMENTS
 %    none
 
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/dynare.m b/matlab/dynare.m
index 56d4a6dc67e8ae2b5b7063577770c8a0889fb46a..acf6c43d29fb9396a245a9cec2ab4103f31a5493 100644
--- a/matlab/dynare.m
+++ b/matlab/dynare.m
@@ -16,7 +16,7 @@ function dynare(fname, varargin)
 % SPECIAL REQUIREMENTS
 %   none
 
-% Copyright (C) 2001-2012 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/dynare_estimation.m b/matlab/dynare_estimation.m
index eb33130ad94bcfbf6d3f5e0e0c50ae79b5f8b0e9..4627a54b2468d75ac70cfce2fad1354a5a1ea6c8 100644
--- a/matlab/dynare_estimation.m
+++ b/matlab/dynare_estimation.m
@@ -11,7 +11,7 @@ function dynare_estimation(var_list,dname)
 % SPECIAL REQUIREMENTS
 %   none
 
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m
index bf9a7a2921a06d2ef7495985ea3d99c31ad408b6..14daf9040586f5e19a6ec0b5a1b054854c30c8bb 100644
--- a/matlab/dynare_estimation_init.m
+++ b/matlab/dynare_estimation_init.m
@@ -18,7 +18,7 @@ function [dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_, fake] =
 % SPECIAL REQUIREMENTS
 %   none
 
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/dynare_identification.m b/matlab/dynare_identification.m
index 9703de917048cce47d0bc12b1f0d0e1b2ca52b29..47d6133fa3360e186fa3a3daee76ef9926f7460b 100644
--- a/matlab/dynare_identification.m
+++ b/matlab/dynare_identification.m
@@ -19,7 +19,7 @@ function [pdraws, TAU, GAM, LRE, gp, H, JJ] = dynare_identification(options_iden
 
 % main 
 %
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/dynare_sensitivity.m b/matlab/dynare_sensitivity.m
index e098db41d9d5898902385ed79009cf1e61626ee0..719cbf02b8c4e09500bf796a0d5d4ea7d81f2ede 100644
--- a/matlab/dynare_sensitivity.m
+++ b/matlab/dynare_sensitivity.m
@@ -4,7 +4,7 @@ function x0=dynare_sensitivity(options_gsa)
 % Reference:
 % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
 
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/ep/extended_path.m b/matlab/ep/extended_path.m
index 7782a53d317f2b70c1eb859d0a5f96bdde27717a..981d84706871fab7521690f270ae942ba02cf04a 100644
--- a/matlab/ep/extended_path.m
+++ b/matlab/ep/extended_path.m
@@ -14,7 +14,7 @@ function time_series = extended_path(initial_conditions,sample_size)
 %
 % SPECIAL REQUIREMENTS
 
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model.m b/matlab/ep/solve_stochastic_perfect_foresight_model.m
index d498e5586d392ad409296e837063c23198f84014..12b8b37cf9d0f27772f5e4ddde39485d59a0b7fd 100644
--- a/matlab/ep/solve_stochastic_perfect_foresight_model.m
+++ b/matlab/ep/solve_stochastic_perfect_foresight_model.m
@@ -1,6 +1,6 @@
 function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model(endo_simul,exo_simul,pfm,nnodes,order)
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model_1.m b/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
index 54184ef1068e88a5f8bc466d53a54f225cb06961..f732792e5d3be1ed8a9bc93a62c3dde039daf9f6 100644
--- a/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
+++ b/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
@@ -1,6 +1,6 @@
 function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model_1(endo_simul,exo_simul,pfm,nnodes,order)
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/fastgensylv.m b/matlab/fastgensylv.m
index 40166673b506ad097a5db8809ddb43f8de4062da..332e46f2829c6cc635028aee5c56c04fdeba4c62 100644
--- a/matlab/fastgensylv.m
+++ b/matlab/fastgensylv.m
@@ -111,19 +111,3 @@ end
 %
 % SPECIAL REQUIREMENTS
 %   none.  
-% Copyright (C) 1996-2012 Dynare Team
-%
-% This file is part of Dynare.
-%
-% Dynare is free software: you can redistribute it and/or modify
-% it under the terms of the GNU General Public License as published by
-% the Free Software Foundation, either version 3 of the License, or
-% (at your option) any later version.
-%
-% Dynare is distributed in the hope that it will be useful,
-% but WITHOUT ANY WARRANTY; without even the implied warranty of
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-% GNU General Public License for more details.
-%
-% You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/matlab/forecast_graphs.m b/matlab/forecast_graphs.m
index 3731ad3dbe39c7ff651addd042179f93510fb1f5..f95b77541d7a49bfce842b56c3b562a10320ea32 100644
--- a/matlab/forecast_graphs.m
+++ b/matlab/forecast_graphs.m
@@ -1,6 +1,6 @@
 function forecast_graphs(var_list)
 
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/gauss_hermite_weights_and_nodes.m b/matlab/gauss_hermite_weights_and_nodes.m
index 40287cb71583432d8b1ed4fe88fd2dad64e6042b..70d5abae441e1ecebcf7a44e146ac9555530551c 100644
--- a/matlab/gauss_hermite_weights_and_nodes.m
+++ b/matlab/gauss_hermite_weights_and_nodes.m
@@ -31,7 +31,7 @@ function [nodes,weights] = gauss_hermite_weights_and_nodes(n)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/getJJ.m b/matlab/getJJ.m
index fab0f0d9923a23cd298ebd130ce0fc02e23cb3ce..1facc956b98fd0e0b669ac58aaf08fbe33eedf7b 100644
--- a/matlab/getJJ.m
+++ b/matlab/getJJ.m
@@ -1,6 +1,6 @@
 function [JJ, H, gam, gp, dA, dOm, dYss] = getJJ(A, B, M_,oo_,options_,kronflag,indx,indexo,mf,nlags,useautocorr)
 
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/global_initialization.m b/matlab/global_initialization.m
index b4938047a93af6bb68d5b3d89b7e744fd51fb835..4d73624bf38eca4d0a5051edb7be0417886f9258 100644
--- a/matlab/global_initialization.m
+++ b/matlab/global_initialization.m
@@ -11,7 +11,7 @@ function global_initialization()
 % SPECIAL REQUIREMENTS
 %    none
 
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/graph_decomp.m b/matlab/graph_decomp.m
index 7afc3d7758aa1d7348ac3ca945b22050d8a0576b..f69c8d83326298c71abeb3ba18ecd8a232f725c1 100644
--- a/matlab/graph_decomp.m
+++ b/matlab/graph_decomp.m
@@ -1,7 +1,7 @@
 function []=graph_decomp(z,shock_names,endo_names,i_var,initial_date,DynareModel,DynareOptions)
 %function []=graph_decomp(z,varlist,initial_period,freq)
 
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/gsa/filt_mc_.m b/matlab/gsa/filt_mc_.m
index 5b35e919f22abdb60cd1554fd7a30972cfcb6fec..5ced8be595376fe61e79a5b9a5ee2ed7fe92485f 100644
--- a/matlab/gsa/filt_mc_.m
+++ b/matlab/gsa/filt_mc_.m
@@ -16,7 +16,7 @@ function [rmse_MC, ixx] = filt_mc_(OutDir,options_gsa_,dataset_)
 % Reference:
 % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/gsa/map_ident_.m b/matlab/gsa/map_ident_.m
index 4ca20262320833d92e9126add38c3a4c47b3fb23..591c547c2c57eb2c539c248c06fcb52234e166ac 100644
--- a/matlab/gsa/map_ident_.m
+++ b/matlab/gsa/map_ident_.m
@@ -1,6 +1,6 @@
 function map_ident_(OutputDirectoryName,opt_gsa)
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/gsa/redform_map.m b/matlab/gsa/redform_map.m
index d8560706644d406b85428438a10e95868d7522dc..eb6c8e0cf5e594456740f2d1fe2f655fa60c0bdd 100644
--- a/matlab/gsa/redform_map.m
+++ b/matlab/gsa/redform_map.m
@@ -19,7 +19,7 @@ function redform_map(dirname,options_gsa_)
 % Reference:
 % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/gsa/redform_screen.m b/matlab/gsa/redform_screen.m
index ef8add9f35a3b52db1014f7003c4aba97af44d38..cdbd2d596069f060fccd9425c58f690649ab130b 100644
--- a/matlab/gsa/redform_screen.m
+++ b/matlab/gsa/redform_screen.m
@@ -14,7 +14,7 @@ function redform_screen(dirname, options_gsa_)
 % Reference:
 % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/gsa/stab_map_.m b/matlab/gsa/stab_map_.m
index 7cc03c53acfa93774ace0cabc900a83d537e9f98..de220c3c89464a4154277d58618180f4816c67dc 100644
--- a/matlab/gsa/stab_map_.m
+++ b/matlab/gsa/stab_map_.m
@@ -38,7 +38,7 @@ function x0 = stab_map_(OutputDirectoryName,opt_gsa)
 % Reference:
 % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/gsa/stab_map_1.m b/matlab/gsa/stab_map_1.m
index 34b6b7331107fc462230418fbfb800f7ba2ad6ec..314c3ddc6b9ac696c28e42b769b7b0f190bb2b3b 100644
--- a/matlab/gsa/stab_map_1.m
+++ b/matlab/gsa/stab_map_1.m
@@ -24,7 +24,7 @@ function [proba, dproba] = stab_map_1(lpmat, ibehaviour, inonbehaviour, aname, i
 % Reference:
 % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/gsa/stab_map_2.m b/matlab/gsa/stab_map_2.m
index d9363ea60e081cbc6091789837773d0f3087e49d..dcb4bb6411d820a57cbc6c4f5ac2bbf91ddc04d9 100644
--- a/matlab/gsa/stab_map_2.m
+++ b/matlab/gsa/stab_map_2.m
@@ -9,7 +9,7 @@ function stab_map_2(x,alpha2, pvalue, fnam, dirname,xparam1,figtitle)
 % Reference:
 % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/ident_bruteforce.m b/matlab/ident_bruteforce.m
index a5f6094b0cd7d96471e85d66912ab2c6330030ee..57a54984cfc0bdee7e819b3ffb824fec8077e649 100644
--- a/matlab/ident_bruteforce.m
+++ b/matlab/ident_bruteforce.m
@@ -9,7 +9,7 @@ function [pars, cosnJ] = ident_bruteforce(J,n,TeX, pnames_TeX)
 %  pars  : cell array with groupf of params for each column of J for 1 to n
 %  cosnJ : the cosn of each column with the selected group of columns
 
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/identification_analysis.m b/matlab/identification_analysis.m
index 1e9bda93f4b0000d3a307f01408db396fbd68423..07f5ce50fbf6c659ab867f9aa9a58469477bbe19 100644
--- a/matlab/identification_analysis.m
+++ b/matlab/identification_analysis.m
@@ -25,7 +25,7 @@ function [ide_hess, ide_moments, ide_model, ide_lre, derivatives_info, info] = i
 % SPECIAL REQUIREMENTS
 %    None
 
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/independent_metropolis_hastings.m b/matlab/independent_metropolis_hastings.m
index 8e24ad1788fc66afb17bf867a90ebbf655e16e17..afbe037013a1c027d3de7e6ae521a15697e5e3d9 100644
--- a/matlab/independent_metropolis_hastings.m
+++ b/matlab/independent_metropolis_hastings.m
@@ -22,7 +22,7 @@ function record=independent_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv
 % PARALLEL CONTEXT
 % See the comment in random_walk_metropolis_hastings.m funtion.
 
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/independent_metropolis_hastings_core.m b/matlab/independent_metropolis_hastings_core.m
index 83ec21127c3cf9d9258c5a500582cf939cc9bc05..e6c8c3f5e6d1eb9a068ddf2946899c22ed477125 100644
--- a/matlab/independent_metropolis_hastings_core.m
+++ b/matlab/independent_metropolis_hastings_core.m
@@ -16,7 +16,7 @@ function myoutput = independent_metropolis_hastings_core(myinputs,fblck,nblck,wh
 % SPECIAL REQUIREMENTS.
 %   None.
 %
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/k_order_perturbation.m b/matlab/k_order_perturbation.m
index 566a281175b3960fb38cc038425cb6a7c4e7befb..96b7ba5f6b879b624fd530d38b3de8e0beba6f0b 100644
--- a/matlab/k_order_perturbation.m
+++ b/matlab/k_order_perturbation.m
@@ -51,3 +51,20 @@
 % k_order_peturbation is a compiled MEX function. It's source code is in
 % dynare/mex/sources/k_order_perturbation.cc and it uses code provided by
 % dynare++
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/matlab/kalman/likelihood/kalman_filter.m b/matlab/kalman/likelihood/kalman_filter.m
index e04348b78bcc54c7e8059731d2e015fa66001a36..8dee95f061d0b389a241105a203d155144e745b4 100644
--- a/matlab/kalman/likelihood/kalman_filter.m
+++ b/matlab/kalman/likelihood/kalman_filter.m
@@ -71,7 +71,7 @@ function [LIK, LIKK, a, P] = kalman_filter(Y,start,last,a,P,kalman_tol,riccati_t
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2004-2012 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/kalman/likelihood/kalman_filter_d.m b/matlab/kalman/likelihood/kalman_filter_d.m
index c90f157fcc86f17204d829db5672b56f086fc51b..ced4d1305d8c02b9fb3b8db3107facfd61fe93e3 100644
--- a/matlab/kalman/likelihood/kalman_filter_d.m
+++ b/matlab/kalman/likelihood/kalman_filter_d.m
@@ -31,7 +31,7 @@ function [dLIK,dlik,a,Pstar] = kalman_filter_d(Y, start, last, a, Pinf, Pstar, k
 %   Models", S.J. Koopman and J. Durbin (2003, in Journal of Time Series 
 %   Analysis, vol. 24(1), pp. 85-98). 
 
-% Copyright (C) 2004-2012 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/kronecker/A_times_B_kronecker_C.m b/matlab/kronecker/A_times_B_kronecker_C.m
index e46306f0fa407f04d49828d9d3b8691af350ee21..8e0837d3d175a5efa3d56f67a67933fbb3ef74d7 100644
--- a/matlab/kronecker/A_times_B_kronecker_C.m
+++ b/matlab/kronecker/A_times_B_kronecker_C.m
@@ -43,7 +43,7 @@ function [D, err] = A_times_B_kronecker_C(A,B,C,fake)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 1996-2011 Dynare Team
+% Copyright (C) 1996-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m b/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m
index 09be1b7f9413e777c16a60ffdc637eb45585e0bb..fd6059f840d9f0c2c9556b5abf06965f48437945 100644
--- a/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m
+++ b/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m
@@ -45,7 +45,7 @@ function [D, err] = sparse_hessian_times_B_kronecker_C(varargin)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 1996-2011 Dynare Team
+% Copyright (C) 1996-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/load_csv_file_data.m b/matlab/load_csv_file_data.m
index 8a62ba613e4e142294c77ecd486a6747d76a9b1c..84e7f6a6f1817939b8222211dba37adbfe22c660 100644
--- a/matlab/load_csv_file_data.m
+++ b/matlab/load_csv_file_data.m
@@ -38,7 +38,7 @@ function [freq, init, data, varlist] = load_csv_file_data(file, withtime, withna
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/load_m_file_data.m b/matlab/load_m_file_data.m
index 30a5d4434963bfb851ee33560b35d5c3364b1f47..31526f98618c9587bfbc952e3a71fd8c4cee3892 100644
--- a/matlab/load_m_file_data.m
+++ b/matlab/load_m_file_data.m
@@ -32,8 +32,7 @@ function [freq,init,data,varlist,tex] = load_m_file_data(file)
 %! @end deftypefn
 %@eod:
 
-
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -153,4 +152,4 @@ end
 %$ t(8) = dyn_assert(data(:,1),[1;2;3;4;5]);
 %$ t(9) = dyn_assert(data(:,2),[2;3;4;5;6]);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/load_mat_file_data.m b/matlab/load_mat_file_data.m
index 01f3f73fb7fed7b730c5febd87357c6d803ba5a3..876cb293d8347b143e3612bf9f5a146f98e32de9 100644
--- a/matlab/load_mat_file_data.m
+++ b/matlab/load_mat_file_data.m
@@ -32,8 +32,7 @@ function [freq,init,data,varlist,tex] = load_mat_file_data(file)
 %! @end deftypefn
 %@eod:
 
-
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -125,4 +124,4 @@ end
 %$ t(8) = dyn_assert(data(:,1),[1;2;3;4;5]);
 %$ t(9) = dyn_assert(data(:,2),[2;3;4;5;6]);
 %$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/maximize_prior_density.m b/matlab/maximize_prior_density.m
index cee0cc394cc0dcbcc555f109634099b86045ade2..09cb3d774bebefd68a985beb131b289d813772b5 100644
--- a/matlab/maximize_prior_density.m
+++ b/matlab/maximize_prior_density.m
@@ -15,7 +15,7 @@ function [xparams,lpd,hessian] = ...
 %   lpd           [double]  scalar, value of the logged prior density at the mode.
 %   hessian       [double]  matrix, Hessian matrix at the prior mode.
 
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/metropolis_hastings_initialization.m b/matlab/metropolis_hastings_initialization.m
index e56ddcf5f40ef2827d59067f6afd688f3d58546e..3e75c78da97d5d266d8aa9de58d306f008a309d1 100644
--- a/matlab/metropolis_hastings_initialization.m
+++ b/matlab/metropolis_hastings_initialization.m
@@ -23,7 +23,7 @@ function [ ix2, ilogpo2, ModelName, MhDirectoryName, fblck, fline, npar, nblck,
 % SPECIAL REQUIREMENTS
 %   None.
 
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/mh_autocorrelation_function.m b/matlab/mh_autocorrelation_function.m
index a0a479c7c5e6e8257445a76e143eaad3ee5610a9..ff71f38dcd3b4802687bdd1e91ce469a19ee594b 100644
--- a/matlab/mh_autocorrelation_function.m
+++ b/matlab/mh_autocorrelation_function.m
@@ -18,7 +18,7 @@ function mh_autocorrelation_function(options_,M_,estim_params_,type,blck,name1,n
 %        
 % SPECIAL REQUIREMENTS
 
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/minus_logged_prior_density.m b/matlab/minus_logged_prior_density.m
index ef883e0050fa5ef6b64502f6f9651d4771d2aab1..2697a474b9844371bd5493b0a861c59d2e18e68e 100644
--- a/matlab/minus_logged_prior_density.m
+++ b/matlab/minus_logged_prior_density.m
@@ -12,7 +12,7 @@ function [fval,fake_1, fake_2, exit_flag ] = minus_logged_prior_density(xparams,
 % OUTPUTS 
 %   f          [double]  value of minus the logged prior density.
 
-% Copyright (C) 2009 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/mode_check.m b/matlab/mode_check.m
index 1be56baca8efdd7df66adac6df02172547fa87de..fdbd290b06367b05a5fd46cbf16d4f0394afeaf3 100644
--- a/matlab/mode_check.m
+++ b/matlab/mode_check.m
@@ -40,7 +40,7 @@ function mode_check(fun,x,hessian,DynareDataset,DynareOptions,Model,EstimatedPar
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/ms-sbvar/sbvar.m b/matlab/ms-sbvar/sbvar.m
index 3d14a8ae00b82dd1eb973f5a52c6a42479136bbc..00762085d5048584efaa049c4675e229d0a3da82 100644
--- a/matlab/ms-sbvar/sbvar.m
+++ b/matlab/ms-sbvar/sbvar.m
@@ -15,7 +15,7 @@ function sbvar(M, options)
 %   none.
 %
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/newrat.m b/matlab/newrat.m
index 7feb73af30297ccf96ae5baa4269964de1c5d161..3ce1dbd10fec35aa0061295b37dfbfc87d529324 100644
--- a/matlab/newrat.m
+++ b/matlab/newrat.m
@@ -23,7 +23,7 @@ function [xparam1, hh, gg, fval, igg] = newrat(func0, x, analytic_derivation, ft
 %
 %  varargin = list of parameters for func0
 
-% Copyright (C) 2004-2012 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/non_linear_dsge_likelihood.m b/matlab/non_linear_dsge_likelihood.m
index f7656a2cc766bd6f8cd47d0a494e7948072c93e6..326bf297e7d1f5a3e01919143f691235168e6d7a 100644
--- a/matlab/non_linear_dsge_likelihood.m
+++ b/matlab/non_linear_dsge_likelihood.m
@@ -101,7 +101,7 @@ function [fval,ys,trend_coeff,exit_flag,info,Model,DynareOptions,BayesInfo,Dynar
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/AnalyseComputationalEnvironment.m b/matlab/parallel/AnalyseComputationalEnvironment.m
index f3bf88c36f8fc14daa69521655aab0a86d635c5f..6d5d074303ad90aff4104697bdde789bfa2e479a 100644
--- a/matlab/parallel/AnalyseComputationalEnvironment.m
+++ b/matlab/parallel/AnalyseComputationalEnvironment.m
@@ -82,7 +82,7 @@ dynareParallelMkDir(RemoteTmpFolder,DataInput);
 % Currently when errors are detected execution simply stops and users can
 % fix configuration errors according to the error type.
 
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/GiveCPUnumber.m b/matlab/parallel/GiveCPUnumber.m
index c858d258fdd5ea6324ec341203a9ea5ccfebfe7b..3176bb1a54df191b20331571858acfde6e6cbd42 100644
--- a/matlab/parallel/GiveCPUnumber.m
+++ b/matlab/parallel/GiveCPUnumber.m
@@ -13,7 +13,7 @@ function [nCPU]= GiveCPUnumber (ComputerInformations, Environment)
 % SPECIAL REQUIREMENTS
 % none
 
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/InitializeComputationalEnvironment.m b/matlab/parallel/InitializeComputationalEnvironment.m
index f5bc691a95d0ed71bb21f809f557fa10d62f926f..22cc49c8303fc0972c72aa74a99fd2029ed68559 100644
--- a/matlab/parallel/InitializeComputationalEnvironment.m
+++ b/matlab/parallel/InitializeComputationalEnvironment.m
@@ -10,7 +10,7 @@ function InitializeComputationalEnvironment()
 % OUTPUTS
 % None
 %
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/closeSlave.m b/matlab/parallel/closeSlave.m
index cb3c84ae4be27c9ea26a8010df9c6b3d5f02ae62..339d776bb2f4a8a07cc239f0804893867e35504f 100644
--- a/matlab/parallel/closeSlave.m
+++ b/matlab/parallel/closeSlave.m
@@ -15,7 +15,7 @@ function closeSlave(Parallel,TmpFolder,partial),
 % OUTPUTS
 %   None
 %
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelDelete.m b/matlab/parallel/dynareParallelDelete.m
index 403e40e29eeb8fd0318c31513a3461314157a896..7efbff02055355e209b21d6311af4c83c637ff5a 100644
--- a/matlab/parallel/dynareParallelDelete.m
+++ b/matlab/parallel/dynareParallelDelete.m
@@ -11,7 +11,7 @@ function dynareParallelDelete(fname,pname,Parallel)
 %  None
 %
 %
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelDeleteNewFiles.m b/matlab/parallel/dynareParallelDeleteNewFiles.m
index fc0975b133c8f38ff646ea7e70b871a61b9fb15b..e28cd77da7b5ccd209e32b73bcf349da579658bf 100644
--- a/matlab/parallel/dynareParallelDeleteNewFiles.m
+++ b/matlab/parallel/dynareParallelDeleteNewFiles.m
@@ -15,7 +15,7 @@ function dynareParallelDeleteNewFiles(PRCDir,Parallel,PRCDirSnapshot,varargin)
 %
 %
 %
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelDir.m b/matlab/parallel/dynareParallelDir.m
index ac878071616eece5944a5e10b96b3e8a4fa6ab16..ba31dafe0aeacd3ec9e6367ec8662fcac6fe46dd 100644
--- a/matlab/parallel/dynareParallelDir.m
+++ b/matlab/parallel/dynareParallelDir.m
@@ -10,7 +10,7 @@ function dirlist = dynareParallelDir(filename,PRCDir,Parallel)
 %  OUTPUTS
 %  o dirlist    []   ...
 %
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelGetFiles.m b/matlab/parallel/dynareParallelGetFiles.m
index 531594beed4a8d467d892d2d48a7f95562873c9f..bfffaf97286fb8eec2c03a50efa00a8d09de32ce 100644
--- a/matlab/parallel/dynareParallelGetFiles.m
+++ b/matlab/parallel/dynareParallelGetFiles.m
@@ -14,7 +14,7 @@ function dynareParallelGetFiles(NamFileInput,PRCDir,Parallel)
 %
 %
 %
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelGetNewFiles.m b/matlab/parallel/dynareParallelGetNewFiles.m
index be9a08f8e80af39c5dd2b9083f49a770675784cf..5f7eb43a3b9c5cf653096e7e8fe6bca32c9dd8d0 100644
--- a/matlab/parallel/dynareParallelGetNewFiles.m
+++ b/matlab/parallel/dynareParallelGetNewFiles.m
@@ -15,7 +15,7 @@ function [PRCDirSnapshot]=dynareParallelGetNewFiles(PRCDir,Parallel,PRCDirSnapsh
 %
 %
 %
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelListAllFiles.m b/matlab/parallel/dynareParallelListAllFiles.m
index 8a51b13c6f5a9cbe8afe1c6448b0d89e771b75c6..53e893e15c71a65a1d2bea014d8692eb55375b1f 100644
--- a/matlab/parallel/dynareParallelListAllFiles.m
+++ b/matlab/parallel/dynareParallelListAllFiles.m
@@ -14,7 +14,7 @@ function fileList = dynareParallelListAllFiles(dirName,PRCDir,Parallel)
 %  OUTPUTS
 %  o fileList          []   ...
 %
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelMkDir.m b/matlab/parallel/dynareParallelMkDir.m
index 1698113a77d36dcdc05bcd3617a549a962847ef3..7ebde3819ccd531372ffdf26e116a41af182fad0 100644
--- a/matlab/parallel/dynareParallelMkDir.m
+++ b/matlab/parallel/dynareParallelMkDir.m
@@ -10,7 +10,7 @@ function dynareParallelMkDir(PRCDir,Parallel)
 %  None
 %
 %
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelRmDir.m b/matlab/parallel/dynareParallelRmDir.m
index 2bba6bc5c7be9756a75356b30b0d799d1fc77c24..6322f9b8adce038679128562a1288d0c50d79eb6 100644
--- a/matlab/parallel/dynareParallelRmDir.m
+++ b/matlab/parallel/dynareParallelRmDir.m
@@ -11,7 +11,7 @@ function dynareParallelRmDir(PRCDir,Parallel)
 %
 %
 %
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/dynareParallelSendFiles.m b/matlab/parallel/dynareParallelSendFiles.m
index a1a857ae40f38f189c2071fff4e57b92983f74eb..b1dc9cc2896113d95d5aa80e4391e5957d3e953a 100644
--- a/matlab/parallel/dynareParallelSendFiles.m
+++ b/matlab/parallel/dynareParallelSendFiles.m
@@ -14,7 +14,7 @@ function dynareParallelSendFiles(NamFileInput,PRCDir,Parallel)
 %
 %
 %
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/parallel/masterParallel.m b/matlab/parallel/masterParallel.m
index df3afa0330b7f75179ecd689e2ffd5244549ea5d..a7c2b70821e8e1232fc1a553130433bd5cc10995 100644
--- a/matlab/parallel/masterParallel.m
+++ b/matlab/parallel/masterParallel.m
@@ -53,7 +53,7 @@ function [fOutVar,nBlockPerCPU, totCPU] = masterParallel(Parallel,fBlock,nBlock,
 %                              the number of CPU declared in "Parallel", if
 %                              the number of required threads is lower)
 
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/particle/conditional_particle_filter.m b/matlab/particle/conditional_particle_filter.m
index 7969013abcf69d064584457d4d7524537040c32a..05b725534eb4b1b2b891c6d08a6f1cf7e30aa0a9 100644
--- a/matlab/particle/conditional_particle_filter.m
+++ b/matlab/particle/conditional_particle_filter.m
@@ -37,7 +37,7 @@ function [LIK,lik] = conditional_particle_filter(ReducedForm,Y,start,DynareOptio
 %
 % NOTES
 %   The vector "lik" is used to evaluate the jacobian of the likelihood.
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/particle/fit_gaussian_mixture.m b/matlab/particle/fit_gaussian_mixture.m
index 2ae2089ea87295c070c651694384e919ced91376..e4c8e4c5de9e48365668628098149d639d005b04 100644
--- a/matlab/particle/fit_gaussian_mixture.m
+++ b/matlab/particle/fit_gaussian_mixture.m
@@ -1,4 +1,22 @@
 function [StateMu,StateSqrtP,StateWeights] = fit_gaussian_mixture(X,StateMu,StateSqrtP,StateWeights,crit,niters,check) 
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
 [dim,Ndata] = size(X);             
 M = size(StateMu,2) ;
 if check                        % Ensure that covariances don't collapse
diff --git a/matlab/particle/gaussian_densities.m b/matlab/particle/gaussian_densities.m
index 3a770118dd7e1b11255e24226e56d723dce779d3..0c89f0862f07bd6dabd7f0e82a1fe8baa4fbae62 100644
--- a/matlab/particle/gaussian_densities.m
+++ b/matlab/particle/gaussian_densities.m
@@ -19,7 +19,7 @@ function IncrementalWeights = gaussian_densities(obs,mut_t,sqr_Pss_t_t,st_t_1,sq
 %
 % NOTES
 %   The vector "lik" is used to evaluate the jacobian of the likelihood.
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/particle/gaussian_filter_bank.m b/matlab/particle/gaussian_filter_bank.m
index fc0639042f941bc89b6118a4c6f074caf1a14fbe..41cd6aa021cf628532d0505ef21ab5e7760afc97 100644
--- a/matlab/particle/gaussian_filter_bank.m
+++ b/matlab/particle/gaussian_filter_bank.m
@@ -19,7 +19,7 @@ function [PredictedStateMean,PredictedStateVarianceSquareRoot,StateVectorMean,St
 %
 % NOTES
 %   The vector "lik" is used to evaluate the jacobian of the likelihood.
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/particle/importance_sampling.m b/matlab/particle/importance_sampling.m
index a0c52775760b6f30e373eeb30fee20951ded56e2..403b6beb32d1a93a38af3a308f143b1d1dff7980 100644
--- a/matlab/particle/importance_sampling.m
+++ b/matlab/particle/importance_sampling.m
@@ -1,4 +1,22 @@
 function State_Particles = importance_sampling(StateMuPost,StateSqrtPPost,StateWeightsPost,numP)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
 [Xdim,Gsecond] = size(StateMuPost) ;  
 u = rand(numP,1);
 [Nc,comp] = histc(u, cumsum([0; StateWeightsPost]));    
diff --git a/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m b/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m
index 778e2d075b4334fd7bb778faf431be7208315e69..bc205d1803497df5910a92423c8e8450a03edabb 100644
--- a/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m
+++ b/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m
@@ -58,7 +58,7 @@ function [y,y_] = local_state_space_iteration_2(yhat,epsilon,ghx,ghu,constant,gh
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/particle/measurement_equations.m b/matlab/particle/measurement_equations.m
index abcc4da7c10a1c075bdb4d9f4f7eab10c346f528..c00d8ebc49d8228e9808c9379cd8855286a5c68b 100644
--- a/matlab/particle/measurement_equations.m
+++ b/matlab/particle/measurement_equations.m
@@ -1,4 +1,22 @@
 function measure = measurement_equations(StateVectors,ReducedForm,DynareOptions) 
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
 mf1 = ReducedForm.mf1;
 ghx  = ReducedForm.ghx(mf1,:);
 ghu  = ReducedForm.ghu(mf1,:);
diff --git a/matlab/particle/mykmeans.m b/matlab/particle/mykmeans.m
index 0be6519366ec3b9d09a036794799f591b9c2f94e..56af5390b0068a73b8ab7882248badfb048c3002 100644
--- a/matlab/particle/mykmeans.m
+++ b/matlab/particle/mykmeans.m
@@ -1,4 +1,22 @@
 function [c,SqrtVariance,Weights] = mykmeans(x,g,init,cod) 
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
 [n,m] = size(x) ;
 indold = zeros(1,m) ;
 if cod==0
@@ -32,4 +50,4 @@ for i=1:g
   u = bsxfun(@minus,temp,mean(temp,2)); %temp-mean(temp,1)' ;
   SqrtVariance(:,:,i) = chol( (u*u')/size(temp,2) )' ;
   Weights(i) = size(temp,2)/m ;
-end
\ No newline at end of file
+end
diff --git a/matlab/particle/neff.m b/matlab/particle/neff.m
index 84fefffacb6e15846884799ce277c380ff389dbe..5251b9f17efd47a11f9649de3eb271167d8e1b9c 100644
--- a/matlab/particle/neff.m
+++ b/matlab/particle/neff.m
@@ -1,4 +1,21 @@
 function n = neff(w)
 % Evaluates the criterion for resampling
 
-n = dot(w,w);
\ No newline at end of file
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
+n = dot(w,w);
diff --git a/matlab/particle/probability.m b/matlab/particle/probability.m
index c451ea762ed4d9604de448d1318bc6e6371f0514..5d76e49ee06f68ecea1f9dac50d9e6f99d2a86a0 100644
--- a/matlab/particle/probability.m
+++ b/matlab/particle/probability.m
@@ -1,4 +1,22 @@
 function [prior,likelihood,C,posterior] = probability(mu,sqrtP,prior,X)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
 [dim,nov] = size(X);              
 M = size(mu,2) ;
 if nargout>1
diff --git a/matlab/particle/probability2.m b/matlab/particle/probability2.m
index b253ba92830ce40c8c571208a129fda72d5d2423..57ab65f8fb353b81e5ce5375520e265a0bfb3365 100644
--- a/matlab/particle/probability2.m
+++ b/matlab/particle/probability2.m
@@ -14,7 +14,7 @@ function [density] = probability2(mu,S,X)
 %
 % NOTES
 % 
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/particle/spherical_radial_sigma_points.m b/matlab/particle/spherical_radial_sigma_points.m
index 70eadb109767ef72b65a4fca2430b17ef6a06e45..754caacfa5b11d9d30dca61c94dfb7bfbf03a0dd 100644
--- a/matlab/particle/spherical_radial_sigma_points.m
+++ b/matlab/particle/spherical_radial_sigma_points.m
@@ -15,7 +15,7 @@ function [nodes,weights] = spherical_radial_sigma_points(n)
 %
 % NOTES
 % 
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/plot_icforecast.m b/matlab/plot_icforecast.m
index 98ad52b3998a28ae547c6d7737aa84c7bc633b3b..6284769fa684a13c5b7c52d2c28c407c5970b2fe 100644
--- a/matlab/plot_icforecast.m
+++ b/matlab/plot_icforecast.m
@@ -10,7 +10,7 @@ function plot_icforecast(Variables,periods,options_)
 % SPECIAL REQUIREMENTS
 %  This routine has to be called after imcforecast.m.
 
-% Copyright (C) 2006-2012 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/plot_identification.m b/matlab/plot_identification.m
index 4cc2d3a88510ace72037398c7ed66b067265119c..b371295101f959a3533dfc3ff74eaf0bbe1ab826 100644
--- a/matlab/plot_identification.m
+++ b/matlab/plot_identification.m
@@ -18,7 +18,7 @@ function plot_identification(params,idemoments,idehess,idemodel, idelre, advance
 % SPECIAL REQUIREMENTS
 %    None
 
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/pm3.m b/matlab/pm3.m
index 91ec283ed64ce53af2a8076a0e7ef4ca4591280f..09488aa5e31afe74c49b3a599f7793d4a9ea6dd7 100644
--- a/matlab/pm3.m
+++ b/matlab/pm3.m
@@ -4,7 +4,7 @@ function pm3(n1,n2,ifil,B,tit1,tit2,tit3,tit_tex,names1,names2,name3,DirectoryNa
 % See also the comment in random_walk_metropolis_hastings.m funtion.
 
 
-% Copyright (C) 2007-2012 Dynare Team
+% Copyright (C) 2007-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/prior_bounds.m b/matlab/prior_bounds.m
index 623c792632069864c618946d34d8551375bca434..2d187c9a5f9632bd1ba17554b9664c5cd1d66018 100644
--- a/matlab/prior_bounds.m
+++ b/matlab/prior_bounds.m
@@ -48,7 +48,7 @@ function bounds = prior_bounds(bayestopt,options)
 % SPECIAL REQUIREMENTS
 %    none
 
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/priordens.m b/matlab/priordens.m
index 5844d3c17cce6dbe653acb0da7b63ba4a051adfc..ddc6fa92f73bfbfcaa71e4a42e3a8ec920044dc5 100644
--- a/matlab/priordens.m
+++ b/matlab/priordens.m
@@ -14,7 +14,7 @@ function [logged_prior_density, dlprior, d2lprior] = priordens(x, pshape, p6, p7
 %    logged_prior_density  [double]  scalar, log of the prior density evaluated at x.
 %
 
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/qr2.m b/matlab/qr2.m
index de429f36a6c4df66e50ad91f98f19823437b3506..3c84db9960e5a9fbf830622a042dfb00516db2b2 100644
--- a/matlab/qr2.m
+++ b/matlab/qr2.m
@@ -17,7 +17,7 @@ function [Q,R] = qr2(varargin)
 % SPECIAL REQUIREMENTS
 %   None.
 
-% Copyright (C) 2006-2009 Dynare Team
+% Copyright (C) 2006-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/random_walk_metropolis_hastings.m b/matlab/random_walk_metropolis_hastings.m
index 1c75e210290b385b1dd7195c74c00721efb5060b..f64603f69e7fa491f42b772822a97f6231606cc7 100644
--- a/matlab/random_walk_metropolis_hastings.m
+++ b/matlab/random_walk_metropolis_hastings.m
@@ -39,7 +39,7 @@ function record=random_walk_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv
 % Then the comments write here can be used for all the other pairs of
 % parallel functions and also for management funtions.
 
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/random_walk_metropolis_hastings_core.m b/matlab/random_walk_metropolis_hastings_core.m
index f47e972629df723c219b5b7784ab6d0c5aae345d..fa1b771d212c0d7623c346dc5321aa340ee60f45 100644
--- a/matlab/random_walk_metropolis_hastings_core.m
+++ b/matlab/random_walk_metropolis_hastings_core.m
@@ -47,7 +47,7 @@ function myoutput = random_walk_metropolis_hastings_core(myinputs,fblck,nblck,wh
 % parallel functions and also for management funtions.
 
 
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/rplot.m b/matlab/rplot.m
index d8f8c39bed676061e63608843fceabd514c8fbff..50cda1bca13d4531094aff634313686f4512c4c1 100644
--- a/matlab/rplot.m
+++ b/matlab/rplot.m
@@ -14,7 +14,7 @@ function rplot(s1)
 % SPECIAL REQUIREMENTS
 %    none
 
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/set_all_parameters.m b/matlab/set_all_parameters.m
index 14815a3d9459234952bdb6ddddac13e6c017fa9b..656ac34edfcc6524bfe00ea775ada69b556adc86 100644
--- a/matlab/set_all_parameters.m
+++ b/matlab/set_all_parameters.m
@@ -33,7 +33,7 @@ function M = set_all_parameters(xparam1,estim_params,M)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/setup_stochastic_perfect_foresight_model_solver.m b/matlab/setup_stochastic_perfect_foresight_model_solver.m
index a085db978dcb33b5de06f3d68a422d48132912de..616281783afb5df12f4d2b0435835c85b6880dd9 100644
--- a/matlab/setup_stochastic_perfect_foresight_model_solver.m
+++ b/matlab/setup_stochastic_perfect_foresight_model_solver.m
@@ -1,4 +1,21 @@
 function pfm = setup_stochastic_perfect_foresight_model_solver(DynareModel,DynareOptions,DynareOutput,IntegrationMethod)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
     
 pfm.lead_lag_incidence = DynareModel.lead_lag_incidence;
 pfm.ny = DynareModel.endo_nbr;
@@ -82,4 +99,4 @@ if nargin>3 && DynareOptions.ep.stochastic.order
       otherwise
         error('setup_stochastic_perfect_foresight_model_solver:: Unknown integration algorithm!')
     end
-end
\ No newline at end of file
+end
diff --git a/matlab/sim1.m b/matlab/sim1.m
index ed305dd7033b3adad23ae20982bd971f3f9f0578..35b5318b8d514feef766df262ff72f223ed55770 100644
--- a/matlab/sim1.m
+++ b/matlab/sim1.m
@@ -13,7 +13,7 @@ function sim1()
 % SPECIAL REQUIREMENTS
 %   None.
 
-% Copyright (C) 1996-2012 Dynare Team
+% Copyright (C) 1996-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/sim1_purely_backward.m b/matlab/sim1_purely_backward.m
index a561c419595f30068fc6bd37d6d66d21e4ecbebb..30e6409717d83b98cc46546e4488b626370a277b 100644
--- a/matlab/sim1_purely_backward.m
+++ b/matlab/sim1_purely_backward.m
@@ -1,7 +1,7 @@
 function sim1_purely_backward()
 % Performs deterministic simulation of a purely backward model
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/simul.m b/matlab/simul.m
index 9fbab7e4186b9505dc746d24772d7fb696d87a19..007a0d77b864c88ec957cdcd8dbd9c2d40c4a983 100644
--- a/matlab/simul.m
+++ b/matlab/simul.m
@@ -12,7 +12,7 @@ function simul()
 % SPECIAL REQUIREMENTS
 %   none
 
-% Copyright (C) 1996-2012 Dynare Team
+% Copyright (C) 1996-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/simult_.m b/matlab/simult_.m
index d2b948a976bbb16aa99d6c363c1de89c703767b4..86c38cc92913c42f407a6852135034e7527160f3 100644
--- a/matlab/simult_.m
+++ b/matlab/simult_.m
@@ -15,7 +15,7 @@ function y_=simult_(y0,dr,ex_,iorder)
 % SPECIAL REQUIREMENTS
 %    none
 
-% Copyright (C) 2001-2012 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/step_length_correction.m b/matlab/step_length_correction.m
index 7334aa2d6e9044a604a8c6552f22359725c815f5..8950bc7649d387190c47bddc703e1ebc76f09e18 100644
--- a/matlab/step_length_correction.m
+++ b/matlab/step_length_correction.m
@@ -1,6 +1,24 @@
 function c = step_length_correction(x,scale,i)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+
     if isempty(scale)
         c = 10^round(log10(abs(x)));
     else
         c = scale(i);
-    end
\ No newline at end of file
+    end
diff --git a/matlab/stoch_simul.m b/matlab/stoch_simul.m
index e06b413bb99fa78ce94e7d320a24d97ef5e54ac2..8102750aa14255e5d31b0207705075d5e33a3d96 100644
--- a/matlab/stoch_simul.m
+++ b/matlab/stoch_simul.m
@@ -1,6 +1,6 @@
 function info=stoch_simul(var_list)
 
-% Copyright (C) 2001-2012 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/stochastic_solvers.m b/matlab/stochastic_solvers.m
index c420bc99cd87e6acac21f76aaccd7c446c26f70e..5e7a2ae1c5dcab26e142b39ca9de58291603e3d9 100644
--- a/matlab/stochastic_solvers.m
+++ b/matlab/stochastic_solvers.m
@@ -29,7 +29,7 @@ function [dr,info] = stochastic_solvers(dr,task,M_,options_,oo_)
 %   none.
 %  
 
-% Copyright (C) 1996-2012 Dynare Team
+% Copyright (C) 1996-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/thet2tau.m b/matlab/thet2tau.m
index 2fedb0806a66b5823aef63628c8231706039ff0e..b3db2c68362c175223ad0399d511cc2c5f2f122c 100644
--- a/matlab/thet2tau.m
+++ b/matlab/thet2tau.m
@@ -1,7 +1,7 @@
 function tau = thet2tau(params, M_, oo_, indx, indexo, flagmoments,mf,nlags,useautocorr,iv)
 
 %
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/dataset/compute_acov.m b/matlab/utilities/dataset/compute_acov.m
index a67f24e4836c16ade836d6a919e021552d9bb42f..b1834e854237602778c3182f7224fff1dcbc822f 100644
--- a/matlab/utilities/dataset/compute_acov.m
+++ b/matlab/utilities/dataset/compute_acov.m
@@ -36,7 +36,7 @@ function dataset_ = compute_acov(dataset_)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/dataset/compute_corr.m b/matlab/utilities/dataset/compute_corr.m
index d4a81dc07b29ca91f4e3f3f81821af7feb27ba10..d6469baefd5e4ecc6413394f73190e5ce9fb8f58 100644
--- a/matlab/utilities/dataset/compute_corr.m
+++ b/matlab/utilities/dataset/compute_corr.m
@@ -33,7 +33,7 @@ function dataset_ = compute_corr(dataset_)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/dataset/compute_cova.m b/matlab/utilities/dataset/compute_cova.m
index cde46848f50428b99bb65612192b653c30700bdc..51f68981ec81ea428899c714104c8861ec475e95 100644
--- a/matlab/utilities/dataset/compute_cova.m
+++ b/matlab/utilities/dataset/compute_cova.m
@@ -30,7 +30,7 @@ function dataset_ = compute_cova(dataset_)
 %! @end deftypefn
 %@eod:
     
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/dataset/compute_stdv.m b/matlab/utilities/dataset/compute_stdv.m
index 2ddbbfc012f7dc849fdefd154149b0de37acfef2..4384f83ddaafd3e5805cfbd9a02e8b12b6b2d641 100644
--- a/matlab/utilities/dataset/compute_stdv.m
+++ b/matlab/utilities/dataset/compute_stdv.m
@@ -30,7 +30,7 @@ function dataset_ = compute_stdv(dataset_)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/dataset/describe_missing_data.m b/matlab/utilities/dataset/describe_missing_data.m
index 421e64d831fb4d710698d31052bea99b7e118169..5506da2be802e8e9c2ec39ed2b78958e40677a69 100644
--- a/matlab/utilities/dataset/describe_missing_data.m
+++ b/matlab/utilities/dataset/describe_missing_data.m
@@ -27,7 +27,7 @@ function [i,n,s,j] = describe_missing_data(data)
 %! @end deftypefn
 %@eod:
     
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/dataset/descriptive_statistics.m b/matlab/utilities/dataset/descriptive_statistics.m
index 35981246e7819329cf56ce1257dc525ebb8594f5..d2b52292d2c59a5e61ee3ca434d064ee1e86bf8f 100644
--- a/matlab/utilities/dataset/descriptive_statistics.m
+++ b/matlab/utilities/dataset/descriptive_statistics.m
@@ -45,7 +45,7 @@ function dataset_ = descriptive_statistics(dataset_,statistic,varagin)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/dataset/initialize_dataset.m b/matlab/utilities/dataset/initialize_dataset.m
index 5ba5b11a5541745da9fef0bc2fde4ab2a2c38b05..979ad1f554408a14065ff08fe5a392a4aad4bd31 100644
--- a/matlab/utilities/dataset/initialize_dataset.m
+++ b/matlab/utilities/dataset/initialize_dataset.m
@@ -1,7 +1,7 @@
 function dataset_ = initialize_dataset(datafile,varobs,first,nobs,transformation,prefilter,xls)
 % Initializes a structure describing the dataset.
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/doc/dynInfo.m b/matlab/utilities/doc/dynInfo.m
index c52e8efcecc1da500b678475b8f1367fb0c0d475..3c20d0e77065cbdd449bcece891cc31eae14f1e2 100644
--- a/matlab/utilities/doc/dynInfo.m
+++ b/matlab/utilities/doc/dynInfo.m
@@ -31,7 +31,7 @@ function dynInfo(fun)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/doc/get_internal_doc_block.m b/matlab/utilities/doc/get_internal_doc_block.m
index d965500feb1ecc3e5b44c2324cc5295052b9aae8..718b2a28d94f3802a21a0a1037bc62f89fff5098 100644
--- a/matlab/utilities/doc/get_internal_doc_block.m
+++ b/matlab/utilities/doc/get_internal_doc_block.m
@@ -1,7 +1,7 @@
 function block = get_internal_doc_block(fname,fpath)
 % Extract doc sections from matlab's routine.
  
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/general/demean.m b/matlab/utilities/general/demean.m
index 332ab100d384ea43faef525d9ce3b13b7596bddf..4bf53aaa62d6ed66275093e09b442be7a597a202 100644
--- a/matlab/utilities/general/demean.m
+++ b/matlab/utilities/general/demean.m
@@ -27,7 +27,7 @@ function c = demean(x)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/general/iscellofchar.m b/matlab/utilities/general/iscellofchar.m
index a79c770f0267bac99ccc572972e60144b3001364..80193464e3425d6df15ad3d982fbb7e18d903ab1 100644
--- a/matlab/utilities/general/iscellofchar.m
+++ b/matlab/utilities/general/iscellofchar.m
@@ -1,6 +1,6 @@
 function a = iscellofchar(b)
 
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/general/ndim.m b/matlab/utilities/general/ndim.m
index f9e2c80df3400cf3009a7e18b9074e1d3c3beabc..1c4d003bb823f1d61aecb84c86f2a31332d29c4d 100644
--- a/matlab/utilities/general/ndim.m
+++ b/matlab/utilities/general/ndim.m
@@ -27,7 +27,7 @@ function n = ndim(x)
 %! @end deftypefn
 %@eod:
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/tests/dyn_assert.m b/matlab/utilities/tests/dyn_assert.m
index c6b01708186e60d0967ab7b267cec25fdb62fcda..5311631396f3bc054fd0945fa68000e4cbb7f734 100644
--- a/matlab/utilities/tests/dyn_assert.m
+++ b/matlab/utilities/tests/dyn_assert.m
@@ -1,7 +1,7 @@
 function t = dyn_assert(A,B,tol)
 % This function tests the equality of two objects.
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/utilities/tests/mtest.m b/matlab/utilities/tests/mtest.m
index 1354deaedad2330847c89c173275169a1912cee9..f12e4d9fff98473b49b0eef17db358811e958902 100644
--- a/matlab/utilities/tests/mtest.m
+++ b/matlab/utilities/tests/mtest.m
@@ -1,7 +1,7 @@
 function check = mtest(fname,fpath)
 % Extract test sections from matlab's routine executes the test and report errors.
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/variance_decomposition_mc_analysis.m b/matlab/variance_decomposition_mc_analysis.m
index 4b5d9a96665e9c31426093133b6dd928121cb1fe..b4f3f570debe271340b1152978f78fdaa5b23e6f 100644
--- a/matlab/variance_decomposition_mc_analysis.m
+++ b/matlab/variance_decomposition_mc_analysis.m
@@ -2,7 +2,7 @@ function oo_ = variance_decomposition_mc_analysis(NumberOfSimulations,type,dname
 % This function analyses the (posterior or prior) distribution of the
 % endogenous variance decomposition.
 
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/mex/sources/block_kalman_filter/block_kalman_filter.cc b/mex/sources/block_kalman_filter/block_kalman_filter.cc
index e8741cf666f23edae932570646da33a638bcec86..6104feb12db2a425d5c626bc38f9e87faaccba2d 100644
--- a/mex/sources/block_kalman_filter/block_kalman_filter.cc
+++ b/mex/sources/block_kalman_filter/block_kalman_filter.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/block_kalman_filter/block_kalman_filter.h b/mex/sources/block_kalman_filter/block_kalman_filter.h
index 501e3820bdaff5be9505dbf4e50b1756e6b56649..98803e02440f016df26be3f5631ed4675fda883f 100644
--- a/mex/sources/block_kalman_filter/block_kalman_filter.h
+++ b/mex/sources/block_kalman_filter/block_kalman_filter.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2011 Dynare Team
+ * Copyright (C) 2007-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/bytecode/ErrorHandling.hh b/mex/sources/bytecode/ErrorHandling.hh
index d7759de516121c5ec6dba48e40784be9e914dc10..fe6047c8865e20e46e0439abf787ff0adafd1e7b 100644
--- a/mex/sources/bytecode/ErrorHandling.hh
+++ b/mex/sources/bytecode/ErrorHandling.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/bytecode/Evaluate.cc b/mex/sources/bytecode/Evaluate.cc
index b53dc12f9c982ec9cf1a56719609e07228c7ffa3..74be26bf3967b750c33a73b7bd355eb4d5f7f8ad 100644
--- a/mex/sources/bytecode/Evaluate.cc
+++ b/mex/sources/bytecode/Evaluate.cc
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2013 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include <cstring>
 #include <sstream>
 #include <math.h>
diff --git a/mex/sources/bytecode/Evaluate.hh b/mex/sources/bytecode/Evaluate.hh
index 4d95b0428c2e331bb3f309aa1cfc0f4765851912..33621b7a45872e1342b636e4a147ea641077aefe 100644
--- a/mex/sources/bytecode/Evaluate.hh
+++ b/mex/sources/bytecode/Evaluate.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/bytecode/Interpreter.cc b/mex/sources/bytecode/Interpreter.cc
index 91aeffdfcf4509088462fee231fc5bdafd2705cd..522f718903d59ee179220fd9a13a30da96d6cb4e 100644
--- a/mex/sources/bytecode/Interpreter.cc
+++ b/mex/sources/bytecode/Interpreter.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/bytecode/Interpreter.hh b/mex/sources/bytecode/Interpreter.hh
index b33b608d8893eb627dcb65610539c0b7a9b22113..4c00e9f9bdff42efd0eb2aba17491d3b8bb04d23 100644
--- a/mex/sources/bytecode/Interpreter.hh
+++ b/mex/sources/bytecode/Interpreter.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/bytecode/SparseMatrix.hh b/mex/sources/bytecode/SparseMatrix.hh
index ef76a60b77e645f3ddd36bccc981b5a831ac2219..48e4ed1c02408a685ad4c4bf75f1e9f8a0c0892e 100644
--- a/mex/sources/bytecode/SparseMatrix.hh
+++ b/mex/sources/bytecode/SparseMatrix.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/bytecode/bytecode.cc b/mex/sources/bytecode/bytecode.cc
index c56f97b9cd524248532cf11ae2d44d9927989195..56ec734fdfefa5f7721bd717e353598ffb703eea 100644
--- a/mex/sources/bytecode/bytecode.cc
+++ b/mex/sources/bytecode/bytecode.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/dynblas.h b/mex/sources/dynblas.h
index ba159ae125d53961ba746734eba3144ef733a79d..47e365ea0c442f0eb432c055945faa420e502e1b 100644
--- a/mex/sources/dynblas.h
+++ b/mex/sources/dynblas.h
@@ -8,7 +8,7 @@
  * and MATLAB_VERSION (for version 7.4, define it to 0x0704).
  *
  *
- * Copyright (C) 2009-2011 Dynare Team
+ * Copyright (C) 2009-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/estimation/tests/DsgeLikelihood.m b/mex/sources/estimation/tests/DsgeLikelihood.m
index 6de151c6d82ac409c138fd174e7ccbdb2421cf66..a393580653b443ab8c4d3efdef3846a3d965266a 100644
--- a/mex/sources/estimation/tests/DsgeLikelihood.m
+++ b/mex/sources/estimation/tests/DsgeLikelihood.m
@@ -21,7 +21,7 @@ function [fval,cost_flag,ys,trend_coeff,info] = DsgeLikelihood(xparam1,gend,data
 % SPECIAL REQUIREMENTS
 %
 
-% Copyright (C) 2004-2010 Dynare Team
+% Copyright (C) 2004-2012 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.hh b/mex/sources/k_order_perturbation/k_ord_dynare.hh
index 445373cdcdcbe92ad6cf70c2fb8c669bfa13a529..8465f8c47ce548b10f6d714c44233466e19f7fe7 100644
--- a/mex/sources/k_order_perturbation/k_ord_dynare.hh
+++ b/mex/sources/k_order_perturbation/k_ord_dynare.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2008-2010 Dynare Team
+ * Copyright (C) 2008-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/kalman_steady_state/kalman_steady_state.cc b/mex/sources/kalman_steady_state/kalman_steady_state.cc
index 74588aad4d39c50fbd246a0dd1e45dc78a14a41e..8ae89372e5fd2830de23c8e5ce8625641f20fa41 100644
--- a/mex/sources/kalman_steady_state/kalman_steady_state.cc
+++ b/mex/sources/kalman_steady_state/kalman_steady_state.cc
@@ -1,6 +1,6 @@
 /* kalman_steady_state.cc
 **
-** Copyright (C) 2009-2011 Dynare Team.
+** Copyright (C) 2009-2013 Dynare Team.
 **
 ** This file is part of Dynare.
 **
diff --git a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
index 131ad2d8ee1265b95e5b2c62129f3e4d569f7040..de78ff2e4503de2933df1229008fd812a8b96a96 100644
--- a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
+++ b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2012 Dynare Team
+ * Copyright (C) 2010-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/ms-sbvar/modify_for_mex.cc b/mex/sources/ms-sbvar/modify_for_mex.cc
index 5214972727e6023d27a130f9a41e8f627c9b0f0b..4a6d74db9762c4e12ed05e4854fe80b6999f9ee8 100644
--- a/mex/sources/ms-sbvar/modify_for_mex.cc
+++ b/mex/sources/ms-sbvar/modify_for_mex.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/ordschur/ordschur.cc b/mex/sources/ordschur/ordschur.cc
index dbd7e3b8152ffa7e9b4751bd6a3fcb72061831fb..8289bba569c6c125213ce207240a5500f7d096d9 100644
--- a/mex/sources/ordschur/ordschur.cc
+++ b/mex/sources/ordschur/ordschur.cc
@@ -8,7 +8,7 @@
  */
 
 /*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/mex/sources/qzcomplex/qzcomplex.cc b/mex/sources/qzcomplex/qzcomplex.cc
index 4241bf52924819e5736d400088418408a89b1275..cfd13cfa7eb3baa8f0788ba5d514b91845f57a71 100644
--- a/mex/sources/qzcomplex/qzcomplex.cc
+++ b/mex/sources/qzcomplex/qzcomplex.cc
@@ -6,7 +6,7 @@
  */
 
 /*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/ConfigFile.cc b/preprocessor/ConfigFile.cc
index 72260b34b948f113b9d00d37609f5ea42dda402c..0a3ef5eed0faac90b251b12d854b1660ba1bedec 100644
--- a/preprocessor/ConfigFile.cc
+++ b/preprocessor/ConfigFile.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2012 Dynare Team
+ * Copyright (C) 2010-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/DynamicModel.cc b/preprocessor/DynamicModel.cc
index 2dfba144b54e0d72468f87df2eae5a282f1a1a5f..6b562b48f390af787fd5ed2bd8545f1e90d7384a 100644
--- a/preprocessor/DynamicModel.cc
+++ b/preprocessor/DynamicModel.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2012 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/DynamicModel.hh b/preprocessor/DynamicModel.hh
index 63ac665f4807d79d7079d034045fb24b860c2fcb..808dccaa71e156d984070fb40d272e45c17f52d6 100644
--- a/preprocessor/DynamicModel.hh
+++ b/preprocessor/DynamicModel.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2012 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/ModelTree.cc b/preprocessor/ModelTree.cc
index b6f3fd3acd918c1133bacca0518ed1528c7a3c9d..2a798017cf7425b24cab68dcf6fb2855c16ccbea 100644
--- a/preprocessor/ModelTree.cc
+++ b/preprocessor/ModelTree.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2012 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/ModelTree.hh b/preprocessor/ModelTree.hh
index 4800ccc92500e1f924df662d4e3d78aacebf7917..3a29aa90ec960c958d91aaecd481a843eac87e05 100644
--- a/preprocessor/ModelTree.hh
+++ b/preprocessor/ModelTree.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2011 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/NumericalConstants.cc b/preprocessor/NumericalConstants.cc
index dc2bd80f2a7d06b295afb8e7a990d3953defcd01..a2224eae4b2283cf4910a07a26d196895d484b16 100644
--- a/preprocessor/NumericalConstants.cc
+++ b/preprocessor/NumericalConstants.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2011 Dynare Team
+ * Copyright (C) 2003-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/NumericalConstants.hh b/preprocessor/NumericalConstants.hh
index cb50b0cb47d556b3c714cd796700b894a4532002..1b4be74468d8ac231389c047105df79fe3e07688 100644
--- a/preprocessor/NumericalConstants.hh
+++ b/preprocessor/NumericalConstants.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2011 Dynare Team
+ * Copyright (C) 2003-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/NumericalInitialization.cc b/preprocessor/NumericalInitialization.cc
index 1c26d74f559a61c7a33976cebc61f53c84a468c3..4e28a4920f03cc7af62e5c6ee00addd74926e8c8 100644
--- a/preprocessor/NumericalInitialization.cc
+++ b/preprocessor/NumericalInitialization.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2012 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/preprocessor/StaticModel.hh b/preprocessor/StaticModel.hh
index 8f7735b32c118afce1d60ac09edc2f53d8f55e88..f193c4c4dc7f7ce1dd75fdc1cd1ce1ea76f51bd9 100644
--- a/preprocessor/StaticModel.hh
+++ b/preprocessor/StaticModel.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003-2011 Dynare Team
+ * Copyright (C) 2003-2012 Dynare Team
  *
  * This file is part of Dynare.
  *
diff --git a/tests/internals/tests.m b/tests/internals/tests.m
index 54b13987184b56a3ad37ebd121eb819f1e4ea7b0..14b3a778c215aa5bdddcf6b75a7fd5b8694ccdfd 100644
--- a/tests/internals/tests.m
+++ b/tests/internals/tests.m
@@ -1,6 +1,6 @@
 % matlab script for testing matlab routines.
 
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
 %    
 % This file is part of Dynare.
 %
diff --git a/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m b/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m
index 66a95e6ef6b14036b1e46023cc0f5ff965492b71..916373feeb0cfab5a7b2bbbbf7b92dbf036165c4 100644
--- a/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m
+++ b/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m
@@ -1,7 +1,7 @@
 % computes the steady state of fs2000 analyticaly
 % largely inspired by the program of F. Schorfheide
 
-% Copyright (C) 2004-2010 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
 %
 % This file is part of Dynare.
 %