Added matrix printing, and now all submatrices are properly detected.