Control Algorithm Design for an Energy-Storing Prosthetic Knee for Elderly Amputees