How can I straighten a piece of wire?
I don't know about the machine, but depending on the size of the wire and the length, you can straighten it by holding one end in a vise and then holding the other end in a pliers and giving it a quick jerk.  It takes a little practice but it works quite well.  

However I would hesitate to use this technique on wire you plan to use for household wiring.  If the wire gets stretched too much the diameter of the conductor could be reduced, and likewise the ability to carry the rated current.