Objective motor assessment for personalized rehabilitation of upper extremity in brain injury patients.