Fixed error in basic linear regression model