Added gain.csv file and more testing