Optimal Trajectory Planning for Mitigated Motion Sickness