Control System for Locomotory Prosthesis Configuration