Fixed bug in extrapolated time