finished the code to show that R1 is symmetric (Figures 4c and 5a)