if(debug_level>0)System.out.println("Step "+iter+": Failed to converge, but result improved over initial");
}else{
if(debug_level>0)System.out.println("Step "+iter+": Failed to converge");
}
}
if(debug_level>0){
System.out.println("LMA: full RMS="+last_rms[0]+" ("+initial_rms[0]+"), pure RMS="+last_rms[1]+" ("+initial_rms[1]+") + lambda="+lambda);
// System.out.println("LMA: full RMS="+good_or_bad_rms[0]+" ("+initial_rms[0]+"), pure RMS="+good_or_bad_rms[1]+" ("+initial_rms[1]+") + lambda="+lambda);