[optval,Lam,oX,X,oD,D,V,noiter]=main(A,H,toler); %revising nov20/14
