Modularize matrix multiplication / inversion tests. Add Cholesky inversion.