GLM: Implemented the Type I sums of squares and added a test for that.