added function to analyze spike glm results