basic linear regression and plots