A 3-Dimensional forward simulation of bipedal walking