Matrix reading: Tested and working