Sparse glm update bug fix. There was an NPE bug in case of non-gaussian family and gram getting NaNs/Imfs in the second iteration.