Matrix as array