Update and rename residuals.splitloop.R to residuals.loop2r.R