A Real-Time Virtual Integration Environment for Neuroprosthetics and Rehabilitation