Add map_fit_params_to_dict.

Helper function.
Merge pull request #31 from ShaneDrury/fitting

Add map_fit_params_to_dict.