Text this: A New Trajectory Optimizing Method Using Input Shaping Principles