Added definition to get_point_traj()