Cleaned up target function for leastsq, since arguments to function can be extracted from class.
task #7822(https://gna.org/task/index.php?7822): Implement user function to estimate R2eff and associated errors for exponential curve fitting.
Authored by: tlinnet 2014-08-25
Parent: [r25256]
Child: [r25258]