calculate linearity uncertainty create a table