Small bug fix and added step example to lm and glm