Fix variable packing tests

When computing the maximum uniforms forgot to divide by
number of rows per uniform so the maximum for mat2, mat3 and mat4
was vastly too big
Merge pull request #255 from greggman/fix-packing

Fix variable packing tests