initial stab at linear regression