replaced AddValues conditional in first half of Moperator with project and MatSetValue