linear regression complete