change condition of iteration break
change condition of iteration break

add maximum iteration times and tolerance control

XiaodanLyu/Lognormal-Extension,XiaodanLyu/Lognormal-Extension,XiaodanLyu/Lognormal-Extension