minor error correction in trajectory.waterfall()