Initial replacement of glm with linmath.