Uncommented out frpoly. Renamed some variables to avoid conflicts. Made the TAK variants run ten times.