new speedy GLM instance constructor
GLM class is now a mandator input
refactored to use array2glm for massive speedup