Fix matrix elementwise products in the sym module.
Clean up the LDC 2d regression test.