Code updated

test with matrix(1:4,2,2)