Parallel fitting of GLMs using SharedArrays