change n iterations and matrix columns