Ampere's Law Applied to a Toroidal Solenoid