Generalized Differences in Direct Integration Methods for Transient Analysis