changed to linear interpolation and changed from time x-axis to unitless