An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism