Started to make this an rGLM package. Should have all necessary methods, but need to clean up.