fix errors
Fixed matrix-matrix operations. Regex was too greedy; made it lazy.