added code to calculate scaled values
fixed t_start error
fixed time_out error
was returning actual and not scaled values