Made correlation a float
Main now outputs reference.csv
added config_file to config object
Everything working with output