Fix make_y_.m for purely forward/backward models.

This commit is linked to 052faa2f93643a15ea1a94218209c74e753ee29a and issue #613.
Fix size of M_.endo_histval.

Should fix crashes on models with leads/lags of more than one on exogenous.

Closes #617