Slightly different input in test_irregular_matrix. Added few whitespaces in compliance with PEP8.