FIxed an issue with the graphical representation of the glm