Merge cds is deriv

I have improved the efficiency order_at in rde.py