How to add columns in a table matrix