Added the option to save the correlation factor til disk.