Took zscore of data which improved results. Also made new configure settings function, which helps modularize main more