Rotate MxN matrix 90 deg