Design Of Control Algorithms For Redundant Neuroprosthetic Brain-Machine Interfaces