line function

Linear regression example