function  x = ss_helper_kstar(a,b,c,d,e,f,g,h,i,j,l,m)


    iota = a;
    theta = b;
    alpha = c;
    r = d;
    A = e;
    beta = f;
    eta1 = g;
    eta2 = h;
    rho_s0 = i;
    rho_s1 = j;
    rho_s2 = l;
    delta = m;

    
    options=optimset('MaxIter',10000,'MaxFunEvals',10000, 'TolFun', 1E-10, 'TolX', 1E-10, 'Display', 'off');
    x1 = lsqnonlin(@(x) ss_helper2(x,iota,theta,alpha,r,A,beta,eta1,eta2,rho_s0,rho_s1,rho_s2,delta),rand(1,5),[],[],options);

    x = x1(4);
    
end




