Added intercept check for linear models