added helper function which generates a working parameter and function pair.
Merge pull request #37 from Tillsten/make_minimizer

[EHN] Possible helper function to easily create parameters and a function to use them