Design and implementation of patient specific virtual reality systems for motor rehabilitation