Development of Direct Integration Algorithms for Structural Dynamics Using Discrete Control Theory