adds glm
Merge pull request #2175 from andrewroycarter/master

Adds glm