finish slope for linear regression