adding filter cols by to matrix