getGLMCoef function

getGLMCoef: Computing the regression coefficients of generalized linear model.