Finished implementing LRkeyroots() method correctly.