Update the code to be able to deal with trajectories equal to 0 for the full time series
Update the code to be able to deal with trajectories equal to 0 for the full time series