Robust Input Shaping For Linear Time-Invariant Models With Uncertainties