Added code for finding least correlation