moved start times into loop, calculated speedup within the program