check if loaded matix is square or symmetric