Fix derivatives and add tests
add explanation of dictionary keys
Merge pull request #1534 from nden/model-derivatives

Model derivatives - minor changes and tests