added dict_to_params method so that a dictionary can be passed to other class methods that require it (only the optimize function) making round trip changes to parameters easier.
added dict_to_params method so that a dictionary can be passed to other class methods that require it (only the optimize function) making round trip changes to parameters easier.

david-hoffman/peaks