adding a filter by matrix and a keep rows by column method