Create pair_correlation_single_chain_v3.m