Fix handling of qz_criterium in k_order_perturbation MEX.

If the MEX file was called with options_.qz_criterium=[], it would not use a
correct default value (but would use NaN).

Closes #574
Add line numbers of equations in preprocessor error messages.

Closes #584