Bugfixes for set_param_values and for purely static models

Also elaborates documentation