calculate linearity uncertainty click add residuals