Added saving of user parameters.
Merge pull request #45 from Daniel-KM/save_settings

Added saving of user parameters.