Minor: ensure 'within_correlations()' handles file headers and comments correctly
Fixed bug on within_correlations()