add rotated matrix 90 degree