added the loops to search for stuff and to save the graph of Amplitudes for each jacobi elliptic type and m val to file with unique name