Merged two loops in pearson()