early developments in electromagnetism