Update 4) matrix with sections.cpp