Replace class/struct coding style by LLVM style.
Add matrix tests.