How did Alexander Macfarlane summarize the relationship between different methods in "A Treatise on Algebra" in his review