Added confidence interval estimation by bootstrap.
Added plotting of residuals.