Portable low-cost smart brace for elbow rehabilitation