Initial version of linear regression.