diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m
index 3cbbf6d6090b25820d3a4ad5c3160f44271aafe9..daa5edde31e8f0b2f3c9b01bf995ee758002c616 100644
--- a/matlab/dynare_estimation_init.m
+++ b/matlab/dynare_estimation_init.m
@@ -549,7 +549,7 @@ else
     steadystate_check_flag = 1;
 end
 
-% If the steady state of the observed variables is non zero, set noconstant equal 0 ()
+%check steady state at initial parameters
 M = M_;
 nvx = estim_params_.nvx;
 ncx = estim_params_.ncx;
@@ -565,6 +565,7 @@ if info(1)
     print_info(info, 0, options_);
 end
 
+% If the steady state of the observed variables is non zero, set noconstant equal 0 ()
 if (~options_.loglinear && all(abs(oo_.steady_state(bayestopt_.mfys))<1e-9)) || (options_.loglinear && all(abs(log(oo_.steady_state(bayestopt_.mfys)))<1e-9))
     options_.noconstant = 1;
 else
diff --git a/matlab/fjaco.m b/matlab/fjaco.m
index 5f5de07834aa0f6668ceb4cab6e853795ad6bf0e..9b6f68abc34cc7bbee0aa3a55b02d4a6ea8dd615 100644
--- a/matlab/fjaco.m
+++ b/matlab/fjaco.m
@@ -1,14 +1,14 @@
 function fjac = fjaco(f,x,varargin)
 
-% FDJAC Computes two-sided finite difference Jacobian
+% FJACO Computes two-sided finite difference Jacobian
 % USAGE
-%   fjac = fdjac(f,x,P1,P2,...)
+%   fjac = fjaco(f,x,P1,P2,...)
 % INPUTS
 %   f         : name of function of form fval = f(x)
 %   x         : evaluation point
 %   P1,P2,... : additional arguments for f (optional)
 % OUTPUT
-%   fjac      : finite differnce Jacobian
+%   fjac      : finite difference Jacobian
 %
 % Copyright (C) 2010-2017 Dynare Team
 %
diff --git a/matlab/set_parameters_locally.m b/matlab/set_parameters_locally.m
index 173e502573e68eb08bd28de406a0dbbe24f0e2bf..84da8152fae31c06b1f1487e0aa4b857af05f9b4 100644
--- a/matlab/set_parameters_locally.m
+++ b/matlab/set_parameters_locally.m
@@ -56,7 +56,7 @@ end
 % and update offset
 offset = offset + nvx + nvn;
 
-% correlations amonx shocks (ncx)
+% correlations among shocks (ncx)
 if ncx
     corrx = estim_params_.corrx;
     for i=1:ncx
diff --git a/matlab/utilities/dataset/makedataset.m b/matlab/utilities/dataset/makedataset.m
index 85d86d8419ea2dad7cb85bfa04b4f831cc10d2b3..c5c244b5401a21858daded8549d1a077d3b3705b 100644
--- a/matlab/utilities/dataset/makedataset.m
+++ b/matlab/utilities/dataset/makedataset.m
@@ -6,8 +6,9 @@ function [DynareDataset, DatasetInfo, newdatainterface] = makedataset(DynareOpti
 % INPUTS
 % ======
 %
-%     DynareOptions [struct] Structure of options built by Dynare's preprocessor.
-%
+%     DynareOptions         [struct]    Structure of options built by Dynare's preprocessor.
+%     initialconditions     [double]    number of lags for VAR and DSGE_VAR
+%     gsa_flag              [integer]   1: GSA, 0: other
 %
 % OUTPUTS
 % =======