fixed bug in glm

fitting intercept when building classifiers