Fix typo.
Add new options consider_all_endogenous and consider_only_observed.

Closes #336