fix task speed & task coverage calculation

fix broken "ProjectedDistance" if optional cross track error output parameter is not provided.