GLM_Model function

Generalized Linear Model