minor fixes in glmatrix-extra