Fixed typo in Glm2 inner solver, used i instead of x for indexing.