add comments on input and output for glm.approx