TheLR transformation method for symmetric matrices