fix bad default trajectory length in trajectories()