Final Version of Peak_Finding