Virtual reality to help rehabilitation