added shiftAndFlip2.py for cases when pedestal peak is lower than pion peak optimized shiftAndFlip.py to exclude secondary fluctuations