Problem using matrices

Another thought: 2^32 is more than 4*10^6

I don't see what you're trying to say - these are floating point numbers, not fixed point.