Take care of user-supplied function by checking whether mode_compute is numeric

Fixes #508
Add options for providing the variances, an identity matrix , and user specified matrices as proposal densities

Deals with #507 and #112
Includes a unit test
dynSeries: add possibility to merge with an empty series
adding comments
Add function to check covariances for consistency in stochastic simulations
Merge pull request #518 from JohannesPfeifer/check_covariance

Add function to check covariances for consistency
Bugfixes for correlated shocks

Uses preprocessing capabilities introduced in 07137e804b34a0e615398cb7cb5876f4a9027274

Fixes #392 and #494. Also fixes a bug in the checking for positive definiteness of covariance matrices in likelihood functions

Allows for calibrated covariances by reading them out and setting them after covariance matrix has been reconstructed from correlation and variances.

Adds unit test
Merge remote-tracking branch 'jpfeifer/mode_compute'
Merge pull request #511 from JohannesPfeifer/Correlated_errors_preprocessor

Bugfixes for correlated shocks
Ref. manual: fix reference
Finish implementation of mcmc_jumping_covariance option

Closes #112, #514
Merge remote-tracking branch 'github/master'
preprocessor and matlab mex fixes for clang compilation
fix typo
Remove select1st (GNU extension), replace it by a call to boost::bind
revert change that breaks gcc build
revert £ change as 156 is an extended ascii code