Understanding Straightening Machines and Their Applications