An Analysis of a Tuned Mass Damper under Dynamic Loads