add basic GLM prediction function for new X matrix