Matrix arithmetic and [] operator