Comprehensive Swing Leg Motion Predictor for Steady and Transient Walking Conditions