A General Framework for a Rehabilitative Oriented Haptic Interface