Modified the selection of anchoring volumes in function_DTI_CHARMED_correction_interp_mod. A new function is introduced which select the volumes with the highest SNR/amplitude and stops when a fraction of the total amplitude is represented by the selected components. This removes the need for specifying a fixed number of volumes to keep or to define a fixed threshold on the SNR. Small modifications to extend the use of parallel processing.