small modification to handle the new form of the aberration correction function
bug fixes to correction function and parameter estimation routines