Fix typo in header of DynamicModel.cc
Add forgotten case to likelihood functions

Code 25 was not filtered out, leading to cryptic crashes
Merge pull request #663 from JohannesPfeifer/master

Bugfix and cosmetic fix