visulatization of 2d matrices