check for NaN in calculateTransformedTime; otherwise, the cubic
interpolater would infinite loop