Matrix and three columns