rev
readMatrix revised