Slightly different input for test_irregular_matrix. And some PEP8 formatting changes in other tests.