Version 2 of Correlation Analysis Function, Still Work In Progress