For a function of 3 variables: f, ksid and rho, I want to search the combination of f and ksid in order to have the minimum peak for the curve y-rho. I used 3 \'for loops\'