Fix for deterministics list issue

Just added a call to append to `model.deterministics`. The rest is just automated stripping of whitespace.