James Clerk Maxwell, Irish Mathematics and Modern Physics