updated with new deredshift() module and with new interpolation technique