Update residuals.fittedlooplist.R