Update MATSUM.cpp