Dynare: a platform for handling a wide class of economic models