Added fold2.py in ch_pulsar_analysis to mimic Richard's code