Fixed some issues was yet present

Envelope time scale is correct and rescale correct when some time
params change
Time scale for rtd and ptd now are are correct at init