A first version of plotAverage_BED_dev.py