improved use of errors in fits