cleaner version of find_fit with dictionary for parameters values