Principles of Pulsed Magnet Design