added SG lowpass filter
continued refactoring of GLM code. Major change: ridgevec now defaults to rescaling but without constant. Better documentation in GLM class