If not find_f/g_dphi/dz, set parameters on fcns.