moved from rGLM code base
Merge pull request #4 from jread-usgs/master

moved from rGLM code base