An Introduction to Electromagnetic Theory