Moved deredshifting in prep.py