Add iauns' glm.

Adding g-truc's GLM to CPM.