Fixed minor issue with uniform variable modelmatrix