points2par function

From points to parameters of a straight line