Added the user manual for residuals