Fix bug in console test program.

Due to a bug the LMA fit wasn't improving
on the RLD estimate.