Fixed put_sub_square_matrix test and method.