Dsge var

Bugfix and documentation