Updated GramTask to apply normalization by number of observations (not-counting rows with NAs).
Updated GLM to store a clone of the model to avoid data races with cleaner.