changed levenberg marquart to something reasonable