Small edits

Added for loops, removed data.table because of glm errors, still can’t
figure out speedglm.