Physics Based Model for Simulating the Dynamics of Tower Cranes