Code layout updates and parallel correlation sum and Ruelle sum implementations