Bug fix.

<M_.fname>_optimal_mh_scale_parameter.mat was not deleted if mode_compute>0.

(cherry picked from commit 3c7ef8e57a37bfc6a11fcf2daac18fffbd2b65da)
Fixed bug.

MCMC convergence diagnostics should be computed even if mh_replic is less than 2000, provided that the total number of iterations is greater than 2000 (if option load_mh_file is used).

(cherry picked from commit a2ce59bfcd5795175bcb9b5e24afc1ad25245215)
Merge pull request #621 from rattoma/4.4

metropolis bug fix with load_mh_file
Update the manual information on the deterministic solver

The Laffargue-Boucekkine-Juillard algorithm is not the default anymore
(cherry picked from commit cf1cec341f98db86b7992b67829d4224e0cf6fad)
Make check.m display error messages

Fixes #619
(cherry picked from commit e5956262598bd06575ca5736ce6e6c44e3f53a9f)
Verify types of the symbols in estimated_params{,_init,_bounds} statements.

Closes #624
(cherry picked from commit 9973c0f8fc6845bc6010aa4d85a237135361fa39)
Forbid MOD file names that are too long.

And rename filenames in the testsuite that are too long.

Closes #626
(cherry picked from commit 9e332ef3059a7e83ced90a493d57ea21b6caff5e)
Fixed bug introduced in commit bb18c9386d41c365cedbb6784f854c53638541c0.

(cherry picked from commit 78a015a7d2d9ba0c2b666f9c0dea66dcd82131d2)
Release notes for Dynare 4.4.2.
(cherry picked from commit e6bf064784b56f3be3d7b5110f0702332585f374)
Bump versions number for 4.4.2.
Fix release announcement, #598 is not yet fixed.
(cherry picked from commit 658aa7c7fa2ad38fd074d93ce3f0d46433f56248)
Fix bug where NaN in residual of steady state were not detected with steady_state_model
(cherry picked from commit cf4f7f362fca1ff7aa81e501300d8ad6571ab47e)
Make error message for insufficient simulation length more informative.
(cherry picked from commit 13df4979d81ac456b7de61a8d6fd10a95b7eb7c4)
Ensure that -lpthread is statically linked under MinGW.

(manually cherry picked from commit 9d32204790dc073265db41a8ed9cad08811f1518)
checking first whether initval values satisfy static model for Ramsey policy

(cherry picked from commit 821389fcc6364af22a69e25699fbc3606c2de122)
Fix output of external functions (and their derivatives) in LaTeX.

(manually cherry picked from commit 1faae7bf4ceef3c2aa4ea25fc8eeb133fd25ea32)
Cosmetic Changes to figure names in identification
(cherry picked from commit 3ee033ab10f0c85aca838a48baf426f8144640ec)
Filter out DSGE-VAR in identification
(cherry picked from commit 8d7c908dc7368acb33a37d9c0832a033145a22c4)
Clarify role var_list and option for OSR
(cherry picked from commit 4bb1222b3507679cd9132f7d1ee7970c404d96b3)
Filter out stale or inconsistent number of observations.
(cherry picked from commit 2a791e51dff2f565c2482010e753e78069ab29dd)