changed correlation finder to store correlations in object