directory_extra_parameters and extra_parameters

added directory_extra_parameters
fixed extra_parameters
reversing the dictionaries, as to keep the same order as they are defined
correcting mistake
Merge pull request #4 from ricoli/extra_parameters

Adds `directory_extra_parameters` and `extra_parameters`.