Parallelization of glm calls.