@Test(expected = PowsyblException.class)
public void testWrongColumnOrder() {

    Matrix a = matrixFactory.create(2, 2, 2);
    a.set(0, 0, 1d);
    a.set(1, 0, 1d);
    a.set(0, 1, 1d);
    a.set(1, 0, 1d);
}