Functions renamed and example added to 'glm.ds'