Changed alpha to be adaptive according to the iteration, also added a shell script to run the program multiple times