Fixed parenthesis typo
Changed how pairs of beta values and correlations are computed to prevent "long vector"-related failures with data.frame/data.table.
Updated tmp