fix whole number latex

Whole number latex showed the transposed matrix, now fixed.

Decimal latex works.
Have not tested Custom latex yet.