Learning Realistic Joint Space Boundaries for Range of Motion Analysis of Healthy and Impaired Human Arms