Gaitography applied to prosthetic walking