update man pages for residuals; added 'type' element in the output of resid() (suggested by Keith A. Markus)