First pass at linear regression.