function f=clgf(x, m1, m2)
w=wlogf(x, m1, m2);
r=logfqnt(.001, m1, m1);
f=abs(x-r);
f=(f(1)*w(1)+f(2)*w(2))/w(1)*w(2)*abs(x(1)-x(2));
