linear regression is now computed finally