How do I determine how much current a wire can safely handle? I made some electromagnets with some coil and 9 volt batteries, but the wire and the batteries get real hot after a minute, which I assume is not good so i don't keep it connected for long. I want to know how much the wire I am using...