All of the initials except the last one are degrees and lodges of the Masons. The last one is the Benevolent and Protective Order of the Elks. Your ancestor was first a Master Mason (A.M.&F.M.), then a member of the Royal Arch Masons, then a member of the Knights Templer, and finally a Shriner. Being a member of these organizations in the late 19th and early 20th century indicates that your ancestor was a very respected male member of his community. Each of these organizations are still active today, and if each when your ancestor passed away did what they should have done, unless the family didnot want them, the services should have been most impressive. Penna. uses a slightly different name pattern for the Blue Lodges (AF&AM). For more info you can go online and search for "Fraternal Organizations" then scroll down to Masons.